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 <[email protected]> > 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 >
_______________________________________________ -- 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
