From a2f45cb81260e0282c4852dee774aee2f2f0126a Mon Sep 17 00:00:00 2001 From: "Johan T. Halseth" Date: Mon, 16 Nov 2020 11:23:26 +0100 Subject: [PATCH] config: update debuglevel description + sample conf --- config.go | 2 +- sample-lnd.conf | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config.go b/config.go index 338deb27..a07eb76a 100644 --- a/config.go +++ b/config.go @@ -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 =,=,... 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 ,=,=,... 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"` diff --git a/sample-lnd.conf b/sample-lnd.conf index 01bc5eaa..00bdb012 100644 --- a/sample-lnd.conf +++ b/sample-lnd.conf @@ -193,10 +193,10 @@ ; Debug logging level. ; Valid levels are {trace, debug, info, warn, error, critical} -; You may also specify =,=,... to set -; log level for individual subsystems. Use lncli debuglevel --show to list -; available subsystems. -; debuglevel=info +; You may also specify ,=,=,... +; 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=