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. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3473 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20090407/02f3888c/attachment.bin
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.asterisk -rvvvvvc |tee /tmp/my_log.txt> > 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 >-- Giancarlo Rubio
Here is a suggestion from the Digium Bug site asterisk -cvvvgn | tee /tmp/my_log_file.txt http://bugs.digium.com/view.php?id=14255 -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Enrico Pasqualotto Sent: Tuesday, April 07, 2009 8:00 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Logging Asterisk console 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.
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