Skip to content

Commit 5e0bfba

Browse files
Merge pull request #19971 from smarterclayton/debug_logging
etcd should not log at debug unless at v(4)
2 parents a4d5aa2 + 569eed7 commit 5e0bfba

File tree

1 file changed

+1
-1
lines changed
  • pkg/cmd/server/etcd/etcdserver

1 file changed

+1
-1
lines changed

pkg/cmd/server/etcd/etcdserver/run.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const defaultName = "openshift.local"
1919
// RunEtcd starts an etcd server and runs it forever
2020
func RunEtcd(etcdServerConfig *configapi.EtcdConfig) {
2121
cfg := embed.NewConfig()
22-
cfg.Debug = true
22+
cfg.Debug = bool(glog.V(4))
2323
cfg.Name = defaultName
2424
cfg.Dir = etcdServerConfig.StorageDir
2525

0 commit comments

Comments
 (0)