lower log level to debug
This commit is contained in:
parent
64feb6dff2
commit
69a2032dd7
@ -577,8 +577,8 @@ func (r *rtr) start() error {
|
|||||||
default:
|
default:
|
||||||
w, err := r.options.Registry.Watch(registry.WatchDomain(registry.WildcardDomain))
|
w, err := r.options.Registry.Watch(registry.WatchDomain(registry.WildcardDomain))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
if logger.V(logger.WarnLevel, logger.DefaultLogger) {
|
if logger.V(logger.DebugLevel, logger.DefaultLogger) {
|
||||||
logger.Warnf("failed creating registry watcher: %v", err)
|
logger.Debugf("failed creating registry watcher: %v", err)
|
||||||
}
|
}
|
||||||
time.Sleep(time.Second)
|
time.Sleep(time.Second)
|
||||||
continue
|
continue
|
||||||
@ -586,8 +586,8 @@ func (r *rtr) start() error {
|
|||||||
|
|
||||||
// watchRegistry calls stop when it's done
|
// watchRegistry calls stop when it's done
|
||||||
if err := r.watchRegistry(w); err != nil {
|
if err := r.watchRegistry(w); err != nil {
|
||||||
if logger.V(logger.WarnLevel, logger.DefaultLogger) {
|
if logger.V(logger.DebugLevel, logger.DefaultLogger) {
|
||||||
logger.Warnf("Error watching the registry: %v", err)
|
logger.Debugf("Error watching the registry: %v", err)
|
||||||
}
|
}
|
||||||
time.Sleep(time.Second)
|
time.Sleep(time.Second)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user