Difference between revisions of "Asterisk CLI debug"

From Kolmisoft Wiki
Jump to navigationJump to search
 
Line 16: Line 16:


Restart Asterisk and you will see DEBUG messages. To disable - make file look as it was before change.
Restart Asterisk and you will see DEBUG messages. To disable - make file look as it was before change.
= Default Asterisk CLI output =
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
Make sure they look like this and restart Asterisk.

Latest revision as of 09:14, 1 September 2008

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.


Default Asterisk CLI output

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

Make sure they look like this and restart Asterisk.