outpost: add trace log level
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
3d0a853449
commit
8eaaaae2a7
|
@ -20,6 +20,8 @@ func doGlobalSetup(config map[string]interface{}) {
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
switch config[ConfigLogLevel].(string) {
|
switch config[ConfigLogLevel].(string) {
|
||||||
|
case "trace":
|
||||||
|
log.SetLevel(log.TraceLevel)
|
||||||
case "debug":
|
case "debug":
|
||||||
log.SetLevel(log.DebugLevel)
|
log.SetLevel(log.DebugLevel)
|
||||||
case "info":
|
case "info":
|
||||||
|
|
|
@ -16,6 +16,7 @@ func (s *Server) Refresh() error {
|
||||||
s.logger.Debug("Providers have not changed, not updating")
|
s.logger.Debug("Providers have not changed, not updating")
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
s.logger.Tracef("%+v\n", providers)
|
||||||
bundles := s.bundleProviders(providers)
|
bundles := s.bundleProviders(providers)
|
||||||
s.updateHTTPServer(bundles)
|
s.updateHTTPServer(bundles)
|
||||||
return nil
|
return nil
|
||||||
|
|
Reference in a new issue