Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce log level in protokube #3622

Merged
merged 1 commit into from
Oct 14, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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