[asterisk-users] Logging Asterisk console
Marco Sambo
derwidtel at gmail.com
Tue Apr 7 08:21:47 CDT 2009
Hi Enrico,
I do that by modifying logger.conf
[logfiles]
logpro => notice,warning,error,debug,verbose
and modifying asterisk.conf
[directories]
astetcdir => /etc/asterisk
astmoddir => /usr/lib/asterisk/modules
astvarlibdir => /var/lib/asterisk
astdatadir => /var/lib/asterisk
astagidir => /var/lib/asterisk/agi-bin
astspooldir => /var/spool/asterisk
astrundir => /var/run/asterisk
astlogdir => /var/log/asterisk
[options]
verbose = 3
and so I find into /var/log/asterisk the logpro file with the output of CLI
(verbose) and notice, warning, error, debug message of Asterisk.
Ciao
Marco
2009/4/7 Enrico Pasqualotto <enrico at pasqualotto.org>
> Hi all, in witch way can I put in a log file the asterisk console?
> I have tried with some settings in file logger.conf but the log not
> contain the same debug that I can see with "asterisk -rvvv".
> I need it in debugging purpose for tracking some bug.
>
> Thanks Enrico.
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090407/c6531680/attachment.htm
More information about the asterisk-users
mailing list