Reduce log level in protokube

This commit is contained in:
Justin Santa Barbara 2017-10-13 00:02:39 -04:00
parent 5e1f813e3b
commit 8c16d05a95
2 changed files with 3 additions and 3 deletions

View File

@ -43,13 +43,13 @@ func RunDNSUpdates(target DNSTarget, src *DNSView) {
// Snapshot is very cheap if we are in-sync // Snapshot is very cheap if we are in-sync
snapshot := src.Snapshot() snapshot := src.Snapshot()
if lastSnapshot != nil && lastSnapshot.version == snapshot.version { if lastSnapshot != nil && lastSnapshot.version == snapshot.version {
glog.Infof("DNSView unchanged: %v", lastSnapshot.version) glog.V(4).Infof("DNSView unchanged: %v", lastSnapshot.version)
continue continue
} }
// TODO: We might want to keep old records alive for a bit // 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) err := target.Update(snapshot)
if err != nil { if err != nil {

View File

@ -238,7 +238,7 @@ func (v *GCEVolumes) FindVolumes() ([]*Volume, error) {
diskClusterName := d.Labels[gce.GceLabelNameKubernetesCluster] diskClusterName := d.Labels[gce.GceLabelNameKubernetesCluster]
if diskClusterName == "" { 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 continue
} }
// Note that the cluster name is _not_ encoded with EncodeGCELabel // Note that the cluster name is _not_ encoded with EncodeGCELabel