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

Digging into logger configuration #272

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions