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) {
|
||||
case "trace":
|
||||
log.SetLevel(log.TraceLevel)
|
||||
case "debug":
|
||||
log.SetLevel(log.DebugLevel)
|
||||
case "info":
|
||||
|
|
|
@ -16,6 +16,7 @@ func (s *Server) Refresh() error {
|
|||
s.logger.Debug("Providers have not changed, not updating")
|
||||
return nil
|
||||
}
|
||||
s.logger.Tracef("%+v\n", providers)
|
||||
bundles := s.bundleProviders(providers)
|
||||
s.updateHTTPServer(bundles)
|
||||
return nil
|
||||
|
|
Reference in New Issue