I want to have the output of 'sip debug' go to /var/log/asterisk/messages. My logger.conf has: console => notice,warning,error messages => notice,warning,error,verbose,debug However, output from 'sip debug' still goes to the Asterisk console. How can I get it to go to /var/log/asterisk/messages ONLY? Doug.
Did you do a logger reload command from the CLI? bp On 7/5/06, Douglas Garstang <dgarstang@oneeighty.com> wrote:> > I want to have the output of 'sip debug' go to /var/log/asterisk/messages. > My logger.conf has: > > console => notice,warning,error > messages => notice,warning,error,verbose,debug > > However, output from 'sip debug' still goes to the Asterisk console. How > can I get it to go to /var/log/asterisk/messages ONLY? > > Doug. > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.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/20060705/3027707b/attachment.htm
I restarted asterisk. -----Original Message----- From: William Piper [mailto:william.piper@gmail.com] Sent: Wednesday, July 05, 2006 11:58 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] 'sip debug' Did you do a logger reload command from the CLI? bp On 7/5/06, Douglas Garstang < dgarstang@oneeighty.com> wrote: I want to have the output of 'sip debug' go to /var/log/asterisk/messages. My logger.conf has: console => notice,warning,error messages => notice,warning,error,verbose,debug However, output from 'sip debug' still goes to the Asterisk console. How can I get it to go to /var/log/asterisk/messages ONLY? Doug. _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: <http://lists.digium.com/mailman/listinfo/asterisk-users> http://lists.digium.com/mailman/listinfo/asterisk-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060705/c0d5b396/attachment.htm
I'm running 1.2.9.1. Are you sure it's working for you? I just replaced my logger.conf with what you have. Restarted Asterisk, and typed 'sip debug' on the console. All sip debugging went to the console ONLY. That's the opposite of what I am trying to do. I'd like to get the output from 'sip debug' go to to the messages file only. -----Original Message----- From: William Piper [mailto:william.piper@gmail.com] Sent: Wednesday, July 05, 2006 1:25 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] 'sip debug' Weird... What version are you running? I just tested it with my server & it works fine on version 1.2.7.1 console => warning,error messages => notice,warning,error,debug full => warning,error,verbose bp On 7/5/06, Douglas Garstang < dgarstang@oneeighty.com> wrote: I restarted asterisk. -----Original Message----- From: William Piper [mailto: <mailto:william.piper@gmail.com> william.piper@gmail.com] Sent: Wednesday, July 05, 2006 11:58 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] 'sip debug' Did you do a logger reload command from the CLI? bp On 7/5/06, Douglas Garstang < dgarstang@oneeighty.com <mailto:dgarstang@oneeighty.com> > wrote: I want to have the output of 'sip debug' go to /var/log/asterisk/messages. My logger.conf has: console => notice,warning,error messages => notice,warning,error,verbose,debug However, output from 'sip debug' still goes to the Asterisk console. How can I get it to go to /var/log/asterisk/messages ONLY? Doug. _______________________________________________ --Bandwidth and Colocation provided by Easynews.com <http://easynews.com/> -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: <http://lists.digium.com/mailman/listinfo/asterisk-users> http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ --Bandwidth and Colocation provided by Easynews.com <http://easynews.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/20060705/630c762e/attachment.htm
In fact, when I set: console => error sip debug output _STILL_ goes to the console. This looks like a bug to me. Doug. -----Original Message----- From: Douglas Garstang Sent: Wednesday, July 05, 2006 1:31 PM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: RE: [asterisk-users] 'sip debug' I'm running 1.2.9.1. Are you sure it's working for you? I just replaced my logger.conf with what you have. Restarted Asterisk, and typed 'sip debug' on the console. All sip debugging went to the console ONLY. That's the opposite of what I am trying to do. I'd like to get the output from 'sip debug' go to to the messages file only. -----Original Message----- From: William Piper [mailto:william.piper@gmail.com] Sent: Wednesday, July 05, 2006 1:25 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] 'sip debug' Weird... What version are you running? I just tested it with my server & it works fine on version 1.2.7.1 console => warning,error messages => notice,warning,error,debug full => warning,error,verbose bp On 7/5/06, Douglas Garstang < dgarstang@oneeighty.com> wrote: I restarted asterisk. -----Original Message----- From: William Piper [mailto: <mailto:william.piper@gmail.com> william.piper@gmail.com] Sent: Wednesday, July 05, 2006 11:58 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] 'sip debug' Did you do a logger reload command from the CLI? bp On 7/5/06, Douglas Garstang < dgarstang@oneeighty.com <mailto:dgarstang@oneeighty.com> > wrote: I want to have the output of 'sip debug' go to /var/log/asterisk/messages. My logger.conf has: console => notice,warning,error messages => notice,warning,error,verbose,debug However, output from 'sip debug' still goes to the Asterisk console. How can I get it to go to /var/log/asterisk/messages ONLY? Doug. _______________________________________________ --Bandwidth and Colocation provided by Easynews.com <http://easynews.com/> -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: <http://lists.digium.com/mailman/listinfo/asterisk-users> http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ --Bandwidth and Colocation provided by Easynews.com <http://easynews.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/20060705/cb6da00e/attachment.htm