mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-10 22:27:22 +01:00
etcd: disable excessive logging when using embedded etcd
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user