Skip to content

Commit

Permalink
Merge pull request #3622 from justinsb/reduce_protokube_logs
Browse files Browse the repository at this point in the history
Automatic merge from submit-queue.

Reduce log level in protokube
  • Loading branch information
Kubernetes Submit Queue authored Oct 14, 2017
2 parents 184db9a + 8c16d05 commit 922fa5a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions protokube/pkg/gossip/dns/dns.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion protokube/pkg/protokube/gce_volume.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 922fa5a

Please sign in to comment.