lower log level to debug
This commit is contained in:
parent
3761461d15
commit
9c7ae6bb53
@ -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