Manager: reduce log level of "loading configuration" message
Every time the web interface starts, it queries the config to see whether it should be in first-time-wizard mode or not. This caused unnecessary info-level logging. In the future it would be better to load the config file just once, instead.
This commit is contained in:
parent
658a3d7a85
commit
ad57070a2d
@ -171,7 +171,7 @@ func DefaultConfig(override ...func(c *Conf)) Conf {
|
||||
|
||||
// loadConf parses the given file and returns its contents as a Conf object.
|
||||
func loadConf(filename string, overrides ...func(c *Conf)) (Conf, error) {
|
||||
log.Info().Str("file", filename).Msg("loading configuration")
|
||||
log.Debug().Str("file", filename).Msg("loading configuration")
|
||||
yamlFile, err := os.ReadFile(filename)
|
||||
if err != nil {
|
||||
var evt *zerolog.Event
|
||||
|
Loading…
x
Reference in New Issue
Block a user