etcd should not log at debug unless at v(4)
openshift start master was spewing etcd gRPC client logs due to us
setting the debug flag. Make it more properly associated with a debug
loglevel.
@@ -19,7 +19,7 @@ const defaultName = "openshift.local"
// RunEtcd starts an etcd server and runs it forever
func RunEtcd(etcdServerConfig *configapi.EtcdConfig) {
cfg := embed.NewConfig()
- cfg.Debug = true
+ cfg.Debug = bool(glog.V(4))
cfg.Name = defaultName
cfg.Dir = etcdServerConfig.StorageDir
