diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-05-18 16:52:45 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-05-18 16:52:45 +0200 |
commit | 518d149646c13fb49c296a63e61a048f5e672179 (patch) | |
tree | 1229a1ac13b8ffc174dec0908c336b46b4377b9d | |
parent | e0e81b280ffaf487f28929b0c65092e01158e5b3 (diff) |
commands: Use WARN log level also for the early initialization
Fixes #7285
-rw-r--r-- | commands/commandeer.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/commandeer.go b/commands/commandeer.go index 547bf8bf3..69418b299 100644 --- a/commands/commandeer.go +++ b/commands/commandeer.go @@ -179,7 +179,7 @@ func newCommandeer(mustHaveConfigFile, running bool, h *hugoBuilderCommon, f fla 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) |