Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Digging into logger configuration #272

Open
mirkoperillo opened this issue Oct 20, 2022 · 0 comments
Open

Digging into logger configuration #272

mirkoperillo opened this issue Oct 20, 2022 · 0 comments

Comments

@mirkoperillo
Copy link
Contributor

  • 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 ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant