Hello, Is it possible to print the Asterisk message logs to a file, or is this already done? By message logs I mean the display that shows up on the asterisk server when a call is made from one user to another. I believe if the verbosity is high, it can show what parts of the extension.conf file that it uses when making the call. I am trying to use two Jain-sip-applet-phones, connected through an Asterisk server. I can't seem to get communication between the two phones. Does anyone have any experience using these open-source Jain-sip-applet-phones? Thanks, Denis
On Thu, 2007-08-23 at 11:14 -0400, Kutman.DK at forces.gc.ca wrote:> Is it possible to print the Asterisk message logs to a file, or is > this already done?You want to look at the logger.conf configuration file, and see how your Asterisk system is set to log the various types of information (such as debug messages, verbose messages, DTMF messages, etc.) are logged. After changing logger.conf, you can type "logger" reload at the Asterisk CLI to make the changes take effect. -- Jared Smith Community Relations Manager Digium, Inc.
Thanks for your reply. I have previously looked at the logger.conf file. I see that the various types of information can be logged in different ways. After setting the various information types with whatever I want logged, is it possible to save the actual logs to a file (ie: As the messages are bring printed, save them all to a file to be viewed later). Thanks, Denis -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com]On Behalf Of Jared Smith Sent: Thursday, August 23, 2007 12:18 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Asterisk Message Logs On Thu, 2007-08-23 at 11:14 -0400, Kutman.DK at forces.gc.ca wrote:> Is it possible to print the Asterisk message logs to a file, or is > this already done?You want to look at the logger.conf configuration file, and see how your Asterisk system is set to log the various types of information (such as debug messages, verbose messages, DTMF messages, etc.) are logged. After changing logger.conf, you can type "logger" reload at the Asterisk CLI to make the changes take effect. -- Jared Smith Community Relations Manager Digium, Inc. _______________________________________________ --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
On Thursday 23 August 2007 12:46, Kutman.DK at forces.gc.ca wrote:> Thanks for your reply. I have previously looked at the logger.conf file. > I see that the various types of information can be logged in different > ways. After setting the various information types with whatever I want > logged, is it possible to save the actual logs to a file (ie: As the > messages are bring printed, save them all to a file to be viewed later).I utilize this command: nohup script -f -c "asterisk -vvvTn" /tmp/asterisk.log & To start up my apps. This will log everything to a log file. Ron
Kutman.DK at forces.gc.ca wrote:> Hello, > > Is it possible to print the Asterisk message logs to a file, or is this already done? By message logs I mean the display that shows up on the asterisk server when a call is made from one user to another. I believe if the verbosity is high, it can show what parts of the extension.conf file that it uses when making the call. I am trying to use two Jain-sip-applet-phones, connected through an Asterisk server. I can't seem to get communication between the two phones. Does anyone have any experience using these open-source Jain-sip-applet-phones? > > Thanks, > > Denis >Add this to logger.conf: full => notice,warning,error,debug,verbose and you should have most of the output stored in /var/log/asterisk/full Brian.> > _______________________________________________ > --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 > >
Kutman.DK at forces.gc.ca wrote:> Thanks for your reply. I have previously looked at the logger.conf file. I see that the various types of information can be logged in different ways. After setting the various information types with whatever I want logged, is it possible to save the actual logs to a file (ie: As the messages are bring printed, save them all to a file to be viewed later). >What do you mean by actual logs? Console (CLI) output? Brian.> Thanks, > > Denis > -----Original Message----- > From: asterisk-users-bounces at lists.digium.com > [mailto:asterisk-users-bounces at lists.digium.com]On Behalf Of Jared Smith > Sent: Thursday, August 23, 2007 12:18 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [asterisk-users] Asterisk Message Logs > > > On Thu, 2007-08-23 at 11:14 -0400, Kutman.DK at forces.gc.ca wrote: > >> Is it possible to print the Asterisk message logs to a file, or is >> this already done? >> > > You want to look at the logger.conf configuration file, and see how your > Asterisk system is set to log the various types of information (such as > debug messages, verbose messages, DTMF messages, etc.) are logged. > > After changing logger.conf, you can type "logger" reload at the Asterisk > CLI to make the changes take effect. > > >
You can configure logger.conf so that it will log just about everything you could want. http://www.voip-info.org/wiki/index.php?page=Asterisk+config+logger.conf -----Mensaje original----- De: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com]En nombre de Kutman.DK at forces.gc.ca Enviado el: jueves, 23 de agosto de 2007 17:15 Para: asterisk-users at lists.digium.com Asunto: [asterisk-users] Asterisk Message Logs Hello, Is it possible to print the Asterisk message logs to a file, or is this already done? By message logs I mean the display that shows up on the asterisk server when a call is made from one user to another. I believe if the verbosity is high, it can show what parts of the extension.conf file that it uses when making the call. I am trying to use two Jain-sip-applet-phones, connected through an Asterisk server. I can't seem to get communication between the two phones. Does anyone have any experience using these open-source Jain-sip-applet-phones? Thanks, Denis _______________________________________________ --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 -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2228 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20070823/b4c578b2/attachment.bin