Skip to content

Commit

Permalink
Less verbose logging for "normal" things.
Browse files Browse the repository at this point in the history
Don't log things that we expect to happen every sync loop, unless the user
asks for --v > 0.
  • Loading branch information
thockin committed Jun 25, 2014
1 parent 7403b23 commit 3f0e7e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/kubelet/kubelet.go
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ func (kl *Kubelet) SyncAndSetupEtcdWatch(updateChannel chan<- manifestUpdate) {
go kl.WatchEtcd(watchChannel, updateChannel)

kl.getKubeletStateFromEtcd(key, updateChannel)
glog.Infof("Setting up a watch for configuration changes in etcd for %s", key)
glog.V(1).Infof("Setting up a watch for configuration changes in etcd for %s", key)
kl.EtcdClient.Watch(key, 0, true, watchChannel, done)
}
}
Expand Down Expand Up @@ -718,7 +718,7 @@ func (kl *Kubelet) SyncManifests(config []api.ContainerManifest) error {
continue
}
} else {
glog.Infof("%#v exists as %v", element.Name, actualName)
glog.V(1).Infof("%#v exists as %v", element.Name, actualName)
}
desired[actualName] = true
}
Expand Down

0 comments on commit 3f0e7e7

Please sign in to comment.