etcd: disable excessive logging when using embedded etcd

This commit is contained in:
Andras Banki-Horvath 2021-07-15 15:35:38 +02:00
parent 7ce3223919
commit 6dc64f7d2f
No known key found for this signature in database
GPG Key ID: 80E5375C094198D8

@ -69,6 +69,9 @@ func NewEmbeddedEtcdInstance(path string, clientPort, peerPort uint16) (
// To ensure that we can submit large transactions. // To ensure that we can submit large transactions.
cfg.MaxTxnOps = 8192 cfg.MaxTxnOps = 8192
cfg.MaxRequestBytes = 16384 * 1024 cfg.MaxRequestBytes = 16384 * 1024
cfg.Debug = false
cfg.Logger = "zap"
cfg.LogLevel = "error"
// Listen on random free ports if no ports were specified. // Listen on random free ports if no ports were specified.
if clientPort == 0 { if clientPort == 0 {