Commit 33bdc253 authored by Geoff Simmons's avatar Geoff Simmons

Raise some debugging log levels from trace to debug.

parent e299d4f2
...@@ -103,7 +103,7 @@ func (worker *NamespaceWorker) getVarnishSvcForIng( ...@@ -103,7 +103,7 @@ func (worker *NamespaceWorker) getVarnishSvcForIng(
worker.log.Debugf("Cluster Varnish Services for Ingress: %+v", svcs) worker.log.Debugf("Cluster Varnish Services for Ingress: %+v", svcs)
if varnishSvc, exists := ing.Annotations[varnishSvcKey]; exists { if varnishSvc, exists := ing.Annotations[varnishSvcKey]; exists {
worker.log.Tracef("Ingress %s/%s has annotation %s:%s", worker.log.Debugf("Ingress %s/%s has annotation %s:%s",
ing.Namespace, ing.Name, varnishSvcKey, varnishSvc) ing.Namespace, ing.Name, varnishSvcKey, varnishSvc)
targetNs, targetSvc, err := targetNs, targetSvc, err :=
cache.SplitMetaNamespaceKey(varnishSvc) cache.SplitMetaNamespaceKey(varnishSvc)
...@@ -118,14 +118,14 @@ func (worker *NamespaceWorker) getVarnishSvcForIng( ...@@ -118,14 +118,14 @@ func (worker *NamespaceWorker) getVarnishSvcForIng(
return svc, nil return svc, nil
} }
} }
worker.log.Tracef("Ingress %s/%s: Varnish Service %s not found", worker.log.Debugf("Ingress %s/%s: Varnish Service %s not found",
ing.Namespace, ing.Name, varnishSvc) ing.Namespace, ing.Name, varnishSvc)
return nil, nil return nil, nil
} }
worker.log.Tracef("Ingress %s/%s does not have annotation %s", worker.log.Debugf("Ingress %s/%s does not have annotation %s",
ing.Namespace, ing.Name, varnishSvcKey) ing.Namespace, ing.Name, varnishSvcKey)
if len(svcs) == 1 { if len(svcs) == 1 {
worker.log.Tracef("Exactly one Varnish Ingress Service "+ worker.log.Debugf("Exactly one Varnish Ingress Service "+
"cluster-wide: %s", svcs[0]) "cluster-wide: %s", svcs[0])
return svcs[0], nil return svcs[0], nil
} }
...@@ -149,7 +149,7 @@ func (worker *NamespaceWorker) getVarnishSvcForIng( ...@@ -149,7 +149,7 @@ func (worker *NamespaceWorker) getVarnishSvcForIng(
} }
worker.log.Debugf("Namespace Varnish Services for Ingress: %+v", svcs) worker.log.Debugf("Namespace Varnish Services for Ingress: %+v", svcs)
if len(svcs) == 1 { if len(svcs) == 1 {
worker.log.Tracef("Exactly one Varnish Ingress Service "+ worker.log.Debugf("Exactly one Varnish Ingress Service "+
"in namespace %s: %s", worker.namespace, svcs[0]) "in namespace %s: %s", worker.namespace, svcs[0])
return svcs[0], nil return svcs[0], nil
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment