Skip to content

Commit

Permalink
fix: cli logging (#610)
Browse files Browse the repository at this point in the history
  • Loading branch information
bastiandoetsch authored Jul 31, 2024
1 parent de5be23 commit 10757dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ func (c *Config) ConfigureLogging(server types.Server) {
// overwrite a potential already existing writer, so we have the latest settings
c.scrubbingWriter = frameworkLogging.NewScrubbingWriter(zerolog.MultiLevelWriter(writers...), c.scrubbingDict)
writer := c.getConsoleWriter(c.scrubbingWriter)
logger := zerolog.New(writer).With().Timestamp().Str("separator", "-").Str("method", "").Str("ext", "").Logger()
logger := zerolog.New(writer).With().Timestamp().Str("separator", "-").Str("method", "").Str("ext", "").Logger().Level(logLevel)
c.logger = &logger
c.engine.SetLogger(&logger)
}
Expand Down

0 comments on commit 10757dc

Please sign in to comment.