mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-10 19:51:20 +00:00
only enable libp2p logs when trace level logging (#3680)
This commit is contained in:
parent
87f0581742
commit
f78d6e66b3
@ -131,7 +131,7 @@ func startNode(ctx *cli.Context) error {
|
||||
return err
|
||||
}
|
||||
logrus.SetLevel(level)
|
||||
if level == logrus.DebugLevel {
|
||||
if level == logrus.TraceLevel {
|
||||
golog.SetAllLoggers(gologging.DEBUG)
|
||||
}
|
||||
|
||||
|
@ -9,7 +9,7 @@ var (
|
||||
// VerbosityFlag defines the logrus configuration.
|
||||
VerbosityFlag = cli.StringFlag{
|
||||
Name: "verbosity",
|
||||
Usage: "Logging verbosity (debug, info=default, warn, error, fatal, panic)",
|
||||
Usage: "Logging verbosity (trace, debug, info=default, warn, error, fatal, panic)",
|
||||
Value: "info",
|
||||
}
|
||||
// DataDirFlag defines a path on disk.
|
||||
|
Loading…
Reference in New Issue
Block a user