ref: 518d149646c13fb49c296a63e61a048f5e672179
parent: e0e81b280ffaf487f28929b0c65092e01158e5b3
author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
date: Mon May 18 12:52:45 EDT 2020
commands: Use WARN log level also for the early initialization Fixes #7285
--- a/commands/commandeer.go
+++ b/commands/commandeer.go
@@ -179,7 +179,7 @@
debounce: rebuildDebouncer,
fullRebuildSem: semaphore.NewWeighted(1),
// This will be replaced later, but we need something to log to before the configuration is read.
- logger: loggers.NewLogger(jww.LevelError, jww.LevelError, out, ioutil.Discard, running),
+ logger: loggers.NewLogger(jww.LevelWarn, jww.LevelError, out, ioutil.Discard, running),
}
return c, c.loadConfig(mustHaveConfigFile, running)