Difference between revisions of "Asterisk CLI debug"

From Kolmisoft Wiki
Jump to navigationJump to search
(New page: If you want to see DEBUG messages in Asterisk CLI (which are good at troubleshooting), in file /etc/asterisk/logger.conf find lines: ;debug => debug console => notice,warning,error ;co...)
 
Line 1: Line 1:
If you want to see DEBUG messages in Asterisk CLI (which are good at troubleshooting), in file /etc/asterisk/logger.conf find lines:
If you want to see DEBUG messages in Asterisk CLI (which are good for troubleshooting), in file ''/etc/asterisk/logger.conf'' find lines:


  ;debug => debug
  ;debug => debug

Revision as of 17:43, 20 December 2007

If you want to see DEBUG messages in Asterisk CLI (which are good for troubleshooting), in file /etc/asterisk/logger.conf find lines:

;debug => debug
console => notice,warning,error
;console => notice,warning,error,debug
messages => notice,warning,error
;full => notice,warning,error,debug,verbose

and change to:

;debug => debug
;console => notice,warning,error
console => notice,warning,error,debug
messages => notice,warning,error
;full => notice,warning,error,debug,verbose

Restart Asterisk and you will see DEBUG messages. To disable - make file look as it was before change.