How to get the debug log in asterisk

how can i get my debug log in asterisk

can anyone help me out

edit /etc/asterisk/logger.conf and either have a line like debug => debug in the [logfiles] section, or you can include it in the full log by making sure the word “debug” is in the line for full, e.g. full => notice,warning,error,debug,verbose,dtmf

at the CLI issue a “logger reload” and a “logger rotate” and you’ll find the log file in /var/spool/asterisk … trim the fluff before posting it here though.

thanks a lot for ur suggestion

Hello,

I have used the same but still I am not getting the debug statements in logs(all other statements are logged).