Remove AllLoggers (#39)
This was copied from Vault code but shouldn't be necessary any more as a change in hclog a while back meant that derived loggers share the log level of the parent.
This commit is contained in:
1 parent
5a721f0ce3
commit
4d1b916348
5 files changed
+4
-40
No files matched your search
@@ -411,7 +411,7 @@ func (c *Command) WaitForInterrupt() int {
|
||||
c.Logger.Error("unknown log level found on reload", "level", newConf.LogLevel)
|
||||
goto RUNRELOADFUNCS
|
||||
}
|
||||
c.controller.SetLogLevel(level)
|
||||
c.Logger.SetLevel(level)
|
||||
}
|
||||
|
||||
RUNRELOADFUNCS:
|
||||
|
||||
Reference in new issue
Block a user