From 8c16d05a9510f865b71aeead0fa19a908bd3c7e9 Mon Sep 17 00:00:00 2001 From: Justin Santa Barbara Date: Fri, 13 Oct 2017 00:02:39 -0400 Subject: [PATCH] Reduce log level in protokube --- protokube/pkg/gossip/dns/dns.go | 4 ++-- protokube/pkg/protokube/gce_volume.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/protokube/pkg/gossip/dns/dns.go b/protokube/pkg/gossip/dns/dns.go index b153486d54..e880b29932 100644 --- a/protokube/pkg/gossip/dns/dns.go +++ b/protokube/pkg/gossip/dns/dns.go @@ -43,13 +43,13 @@ func RunDNSUpdates(target DNSTarget, src *DNSView) { // Snapshot is very cheap if we are in-sync snapshot := src.Snapshot() if lastSnapshot != nil && lastSnapshot.version == snapshot.version { - glog.Infof("DNSView unchanged: %v", lastSnapshot.version) + glog.V(4).Infof("DNSView unchanged: %v", lastSnapshot.version) continue } // TODO: We might want to keep old records alive for a bit - glog.Infof("DNSView changed: %v", snapshot.version) + glog.V(2).Infof("DNSView changed: %v", snapshot.version) err := target.Update(snapshot) if err != nil { diff --git a/protokube/pkg/protokube/gce_volume.go b/protokube/pkg/protokube/gce_volume.go index f39c57aaeb..b52d77c0b7 100644 --- a/protokube/pkg/protokube/gce_volume.go +++ b/protokube/pkg/protokube/gce_volume.go @@ -238,7 +238,7 @@ func (v *GCEVolumes) FindVolumes() ([]*Volume, error) { diskClusterName := d.Labels[gce.GceLabelNameKubernetesCluster] if diskClusterName == "" { - glog.V(2).Infof("Skipping disk %q with no cluster name", d.Name) + glog.V(4).Infof("Skipping disk %q with no cluster name", d.Name) continue } // Note that the cluster name is _not_ encoded with EncodeGCELabel