ortuman/jackal

Digging into logger configuration

mirkoperillo opened this issue · 0 comments

  • Version: 0.63.2

The file config/example.config.yaml presents a section about logger

#logger:
#  level: "debug"
#  output_path: "jackal.log"

Looking the source code output_path configuration is not present.

In the code the part about logger configuration is here

type LoggerConfig struct {

In detail this struct

type LoggerConfig struct {
	Level  string `fig:"level" default:"debug"`
	Format string `fig:"format"`
}

and it defines a format field never used.

Is this situation a typo? What the code should do ?