fix_: disable libp2p logs in prod (#5740)
This commit is contained in:
parent
759034ec7a
commit
ab675a2c99
|
@ -318,7 +318,7 @@ func New(nodeKey *ecdsa.PrivateKey, fleet string, cfg *Config, logger *zap.Logge
|
|||
pubsub.WithMaxMessageSize(int(waku.cfg.MaxMessageSize)),
|
||||
}
|
||||
|
||||
if waku.logger.Level() == zap.DebugLevel {
|
||||
if testing.Testing() {
|
||||
relayOpts = append(relayOpts, pubsub.WithEventTracer(waku))
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue