[Asterisk-code-review] logger.conf.sample: Add more debug documentation. (asterisk[18])

Benjamin Keith Ford asteriskteam at digium.com
Mon Mar 22 14:52:06 CDT 2021


Benjamin Keith Ford has uploaded this change for review. ( https://gerrit.asterisk.org/c/asterisk/+/15671 )


Change subject: logger.conf.sample: Add more debug documentation.
......................................................................

logger.conf.sample: Add more debug documentation.

Change-Id: I219ed27fedcd29268b2bf7e6a18fa64ff126b20d
---
M configs/samples/logger.conf.sample
1 file changed, 8 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/71/15671/1

diff --git a/configs/samples/logger.conf.sample b/configs/samples/logger.conf.sample
index 98dd7b6..dd7a351 100644
--- a/configs/samples/logger.conf.sample
+++ b/configs/samples/logger.conf.sample
@@ -136,6 +136,12 @@
 ; the verbose level is not specified, it will log verbose messages following
 ; the current level of the root console.
 ;
+; Debug has multiple levels like verbose, but it needs to be set in the CLI
+; as opposed to here in the configuration file. Also, debug output will only
+; show up if debug is enabled in Asterisk via one of the different ways it
+; can be set, such as starting with '-ddd' or 'core set debug 3' from the
+; CLI, both of which will set the debug level to 3.
+;
 ; Special level name "*" means all levels, even dynamic levels registered
 ; by modules after the logger has been initialized (this means that loading
 ; and unloading modules that create/remove dynamic logger levels will result
@@ -157,13 +163,13 @@
 ; modes on a production system unless you are in the process of debugging
 ; a specific issue.
 ;
-;debug => debug
+;debug => error,warning,notice,verbose,debug
 ;trace => trace
 ;security => security
 console => notice,warning,error
 ;console => notice,warning,error,debug
 messages => notice,warning,error
-;full => notice,warning,error,debug,verbose,dtmf,fax
+;full.txt => notice,warning,error,debug,verbose,dtmf,fax
 ;
 ;full-json => [json]debug,verbose,notice,warning,error,dtmf,fax
 ;

-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/15671
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 18
Gerrit-Change-Id: I219ed27fedcd29268b2bf7e6a18fa64ff126b20d
Gerrit-Change-Number: 15671
Gerrit-PatchSet: 1
Gerrit-Owner: Benjamin Keith Ford <bford at digium.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20210322/3e939121/attachment.html>


More information about the asterisk-code-review mailing list