etcd: disable excessive logging when using embedded etcd
This commit is contained in:
parent
7ce3223919
commit
6dc64f7d2f
@ -69,6 +69,9 @@ func NewEmbeddedEtcdInstance(path string, clientPort, peerPort uint16) (
|
||||
// To ensure that we can submit large transactions.
|
||||
cfg.MaxTxnOps = 8192
|
||||
cfg.MaxRequestBytes = 16384 * 1024
|
||||
cfg.Debug = false
|
||||
cfg.Logger = "zap"
|
||||
cfg.LogLevel = "error"
|
||||
|
||||
// Listen on random free ports if no ports were specified.
|
||||
if clientPort == 0 {
|
||||
|
Loading…
Reference in New Issue
Block a user