config: update debuglevel description + sample conf
This commit is contained in:
parent
c1d423dc07
commit
a2f45cb812
@ -216,7 +216,7 @@ type Config struct {
|
||||
MaxBackoff time.Duration `long:"maxbackoff" description:"Longest backoff when reconnecting to persistent peers. Valid time units are {s, m, h}."`
|
||||
ConnectionTimeout time.Duration `long:"connectiontimeout" description:"The timeout value for network connections. Valid time units are {ms, s, m, h}."`
|
||||
|
||||
DebugLevel string `short:"d" long:"debuglevel" description:"Logging level for all subsystems {trace, debug, info, warn, error, critical} -- You may also specify <subsystem>=<level>,<subsystem2>=<level>,... to set the log level for individual subsystems -- Use show to list available subsystems"`
|
||||
DebugLevel string `short:"d" long:"debuglevel" description:"Logging level for all subsystems {trace, debug, info, warn, error, critical} -- You may also specify <global-level>,<subsystem>=<level>,<subsystem2>=<level>,... to set the log level for individual subsystems -- Use show to list available subsystems"`
|
||||
|
||||
CPUProfile string `long:"cpuprofile" description:"Write CPU profile to the specified file"`
|
||||
|
||||
|
@ -193,10 +193,10 @@
|
||||
|
||||
; Debug logging level.
|
||||
; Valid levels are {trace, debug, info, warn, error, critical}
|
||||
; You may also specify <subsystem>=<level>,<subsystem2>=<level>,... to set
|
||||
; log level for individual subsystems. Use lncli debuglevel --show to list
|
||||
; available subsystems.
|
||||
; debuglevel=info
|
||||
; You may also specify <global-level>,<subsystem>=<level>,<subsystem2>=<level>,...
|
||||
; to set log level for individual subsystems. Use lncli debuglevel --show to
|
||||
; list available subsystems.
|
||||
; debuglevel=debug,PEER=info
|
||||
|
||||
; Write CPU profile to the specified file.
|
||||
; cpuprofile=
|
||||
|
Loading…
Reference in New Issue
Block a user