Benjamin Jacob
2007-Sep-04 06:47 UTC
[asterisk-users] stop log/debug messages into /var/log/messages
Hello good ppl, Any way of stopping asterisk writing into syslogs or any other file, if I set verbose 6 on the console? All I want is the verbose output only on the console, nowhere else. My logger.conf says : console=> notice,error ;messages => notice,warning,error Thanks in advance. - Benjamin Jacob. EMAIL DISCLAIMER : This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. If you receive this transmission in error, please notify the sender by reply email and then destroy the message. Opinions, conclusions and other information in this message that do not relate to official business of Mascon shall be understood to be neither given nor endorsed by Mascon. Any information contained in this email, when addressed to Mascon clients is subject to the terms and conditions in governing client contract. Whilst Mascon takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Mascon grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused.
Benjamin Jacob
2007-Sep-04 06:57 UTC
[asterisk-users] stop log/debug messages into /var/log/messages
Btw, even the syslog line in logger.conf is commented : ; syslog.local0 => notice,warning,error Benjamin Jacob wrote:>Hello good ppl, >Any way of stopping asterisk writing into syslogs or any other file, if >I set verbose 6 on the console? >All I want is the verbose output only on the console, nowhere else. > >My logger.conf says : >console=> notice,error >;messages => notice,warning,error > >Thanks in advance. > >- Benjamin Jacob. > > > >EMAIL DISCLAIMER : This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. If you receive this transmission in error, please notify the sender by reply email and then destroy the message. Opinions, conclusions and other information in this message that do not relate to official business of Mascon shall be understood to be neither given nor endorsed by Mascon. Any information contained in this email, when addressed to Mascon clients is subject to the terms and conditions in governing client contract. > >Whilst Mascon takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Mascon grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. > > > >_______________________________________________ >--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 > > >EMAIL DISCLAIMER : This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. If you receive this transmission in error, please notify the sender by reply email and then destroy the message. Opinions, conclusions and other information in this message that do not relate to official business of Mascon shall be understood to be neither given nor endorsed by Mascon. Any information contained in this email, when addressed to Mascon clients is subject to the terms and conditions in governing client contract. Whilst Mascon takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Mascon grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused.
Adrian Marsh
2007-Sep-04 09:43 UTC
[asterisk-users] stop log/debug messages into /var/log/messages
What logs are coming out to /var/log/messages? Adrian Marsh -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Benjamin Jacob Sent: 04 September 2007 07:58 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] stop log/debug messages into /var/log/messages Btw, even the syslog line in logger.conf is commented : ; syslog.local0 => notice,warning,error Benjamin Jacob wrote:>Hello good ppl, >Any way of stopping asterisk writing into syslogs or any other file, if>I set verbose 6 on the console? >All I want is the verbose output only on the console, nowhere else. > >My logger.conf says : >console=> notice,error >;messages => notice,warning,error > >Thanks in advance. > >- Benjamin Jacob. > > > >EMAIL DISCLAIMER : This email and any files transmitted with it areconfidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. If you receive this transmission in error, please notify the sender by reply email and then destroy the message. Opinions, conclusions and other information in this message that do not relate to official business of Mascon shall be understood to be neither given nor endorsed by Mascon. Any information contained in this email, when addressed to Mascon clients is subject to the terms and conditions in governing client contract.> >Whilst Mascon takes steps to prevent the transmission of viruses viae-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Mascon grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused.> > > >_______________________________________________ >--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 > > >EMAIL DISCLAIMER : This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. If you receive this transmission in error, please notify the sender by reply email and then destroy the message. Opinions, conclusions and other information in this message that do not relate to official business of Mascon shall be understood to be neither given nor endorsed by Mascon. Any information contained in this email, when addressed to Mascon clients is subject to the terms and conditions in governing client contract. Whilst Mascon takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Mascon grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. _______________________________________________ --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
Tzafrir Cohen
2007-Sep-04 10:20 UTC
[asterisk-users] stop log/debug messages into /var/log/messages
On Tue, Sep 04, 2007 at 10:43:15AM +0100, Adrian Marsh wrote:> What logs are coming out to /var/log/messages?Ask asterisk logger show channels -- Tzafrir Cohen icq#16849755 jabber:tzafrir at jabber.org +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
Benjamin Jacob
2007-Sep-04 10:20 UTC
[asterisk-users] stop log/debug messages into /var/log/messages
Exactly the same lines as on the console. Adrian Marsh wrote:>What logs are coming out to /var/log/messages? > >Adrian Marsh > >-----Original Message----- >From: asterisk-users-bounces at lists.digium.com >[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Benjamin >Jacob >Sent: 04 September 2007 07:58 >To: Asterisk Users Mailing List - Non-Commercial Discussion >Subject: Re: [asterisk-users] stop log/debug messages into >/var/log/messages > >Btw, even the syslog line in logger.conf is commented : > >; syslog.local0 => notice,warning,error > > > >Benjamin Jacob wrote: > > > >>Hello good ppl, >>Any way of stopping asterisk writing into syslogs or any other file, if >> >> > > > >>I set verbose 6 on the console? >>All I want is the verbose output only on the console, nowhere else. >> >>My logger.conf says : >>console=> notice,error >>;messages => notice,warning,error >> >>Thanks in advance. >> >>- Benjamin Jacob. >> >> >> >>EMAIL DISCLAIMER : This email and any files transmitted with it are >> >> >confidential and intended solely for the use of the individual or entity >to whom they are addressed. Any unauthorised distribution or copying is >strictly prohibited. If you receive this transmission in error, please >notify the sender by reply email and then destroy the message. Opinions, >conclusions and other information in this message that do not relate to >official business of Mascon shall be understood to be neither given nor >endorsed by Mascon. Any information contained in this email, when >addressed to Mascon clients is subject to the terms and conditions in >governing client contract. > > >>Whilst Mascon takes steps to prevent the transmission of viruses via >> >> >e-mail, we can not guarantee that any email or attachment is free from >computer viruses and you are strongly advised to undertake your own >anti-virus precautions. Mascon grants no warranties regarding >performance, use or quality of any e-mail or attachment and undertakes >no liability for loss or damage, howsoever caused. > > >> >>_______________________________________________ >>--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 >> >> >> >> >> > > >EMAIL DISCLAIMER : This email and any files transmitted with it are >confidential and intended solely for the use of the individual or entity >to whom they are addressed. Any unauthorised distribution or copying is >strictly prohibited. If you receive this transmission in error, please >notify the sender by reply email and then destroy the message. Opinions, >conclusions and other information in this message that do not relate to >official business of Mascon shall be understood to be neither given nor >endorsed by Mascon. Any information contained in this email, when >addressed to Mascon clients is subject to the terms and conditions in >governing client contract. > >Whilst Mascon takes steps to prevent the transmission of viruses via >e-mail, we can not guarantee that any email or attachment is free from >computer viruses and you are strongly advised to undertake your own >anti-virus precautions. Mascon grants no warranties regarding >performance, use or quality of any e-mail or attachment and undertakes >no liability for loss or damage, howsoever caused. > > > >_______________________________________________ >--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 > > >EMAIL DISCLAIMER : This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. If you receive this transmission in error, please notify the sender by reply email and then destroy the message. Opinions, conclusions and other information in this message that do not relate to official business of Mascon shall be understood to be neither given nor endorsed by Mascon. Any information contained in this email, when addressed to Mascon clients is subject to the terms and conditions in governing client contract. Whilst Mascon takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Mascon grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused.
Benjamin Jacob
2007-Sep-04 11:50 UTC
[asterisk-users] stop log/debug messages into /var/log/messages
Here it is : SIP01*CLI> logger show channels Channel Type Status Configuration ------- ---- ------ ------------- Console Enabled - Notice Error Tzafrir Cohen wrote:>On Tue, Sep 04, 2007 at 10:43:15AM +0100, Adrian Marsh wrote: > > >>What logs are coming out to /var/log/messages? >> >> > >Ask asterisk > > logger show channels > > >EMAIL DISCLAIMER : This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. If you receive this transmission in error, please notify the sender by reply email and then destroy the message. Opinions, conclusions and other information in this message that do not relate to official business of Mascon shall be understood to be neither given nor endorsed by Mascon. Any information contained in this email, when addressed to Mascon clients is subject to the terms and conditions in governing client contract. Whilst Mascon takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Mascon grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused.
Tzafrir Cohen
2007-Sep-04 14:17 UTC
[asterisk-users] stop log/debug messages into /var/log/messages
On Tue, Sep 04, 2007 at 12:17:02PM +0530, Benjamin Jacob wrote:> Hello good ppl, > Any way of stopping asterisk writing into syslogs or any other file, if > I set verbose 6 on the console? > All I want is the verbose output only on the console, nowhere else. > > My logger.conf says : > console=> notice,error > ;messages => notice,warning,errorA ';' means that this is a comment. That line is ignored. The sample logger.conf is well-commented: http://svn.digium.com/svn/asterisk/branches/1.4/configs/logger.conf.sample After editing it, run: logger reload from the asterisk CLI To see the current configuration: logger show channels The "full" line in the sample file (once you remove the comment) is probably what you want. Naturally you can call it in any name you want. -- Tzafrir Cohen icq#16849755 jabber:tzafrir at jabber.org +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
bilal ghayyad
2007-Sep-11 18:02 UTC
[asterisk-users] stop log/debug messages into /var/log/messages
Hi Benjamin; I am also interested in the same issue, but I would like to know how you can know where these logs are stored (in which file and path)? I readed that syslog, can you please help me about that? Regards Bilal Ghayad Mobile: 00965 9849460 ----------->When you access the A*k console, is this via a ttyconnection>(ssh/telnet), or actually on the physical console ofthe server?> >I don't think it's A*k that's directly logging to theconsole - the>config doesn't show that... I'm guessing, that you'reaccessing A*k via>the local terminal, and that your syslog config forthe server is>configured to log this to messsages.... Maybe.. > >hmmm. interesting. need to investigate syslog now. Even me thinks, as far as I've read(abt logger and the existing configuration), it shouldn't be writing to any syslogs. btw, am accessing the * console via ssh. thanks for ur help. - Benjamin Jacob. ____________________________________________________________________________________ Got a little couch potato? Check out fun summer activities for kids. http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz
bilal ghayyad
2007-Sep-16 22:21 UTC
[asterisk-users] stop log/debug messages into /var/log/messages
Dear Benjamin; OK friend, things are clear. But now I came to the same original issue that you asked about it, which is the ability to stop the log/debug messages into /var/log/messages. Same like your situation, the messages is comment (;) and even the logges are written to the /var/log/messages, so why that is happening? Did u find answer for that? Regards Bilal --- Benjamin Jacob <benjamin.jacob at mgl.com> wrote:> Hello Bilal, > You have to do quite some reading mate, before you > post your > questions(like your nat and canreinvite questions). > Anyway, look into /etc/asterisk/manager.conf for the > required > directories where Asterisk stores its various > files/directories. > Then read up logger.conf and look at some examples > on the net as well. > > cheerz > - Ben. > > > bilal ghayyad wrote: > > >Hi Benjamin; > > > >I am also interested in the same issue, but I would > >like to know how you can know where these logs are > >stored (in which file and path)? > > > >I readed that syslog, can you please help me about > >that? > > > >Regards > >Bilal Ghayad > >Mobile: 00965 9849460 > > > >----------- > > > > > >>When you access the A*k console, is this via a tty > >> > >> > >connection > > > > > >>(ssh/telnet), or actually on the physical console > of > >> > >> > >the server? > > > > > >>I don't think it's A*k that's directly logging to > the > >> > >> > >console - the > > > > > >>config doesn't show that... I'm guessing, that > you're > >> > >> > >accessing A*k > > via > > > > > >>the local terminal, and that your syslog config > for > >> > >> > >the server is > > > > > >>configured to log this to messsages.... Maybe.. > >> > >> > >> > >> > >hmmm. interesting. need to investigate syslog now. > >Even me thinks, as > >far as I've read(abt logger and the existing > >configuration), it > >shouldn't be writing to any syslogs. > >btw, am accessing the * console via ssh. > > > >thanks for ur help. > > > >- Benjamin Jacob. > > > > > > > > > > > > > >____________________________________________________________________________________ > >Got a little couch potato? > >Check out fun summer activities for kids. > >http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz > > > > > > > > > > EMAIL DISCLAIMER : This email and any files > transmitted with it are confidential and intended > solely for the use of the individual or entity to > whom they are addressed. Any unauthorised > distribution or copying is strictly prohibited. If > you receive this transmission in error, please > notify the sender by reply email and then destroy > the message. Opinions, conclusions and other > information in this message that do not relate to > official business of Mascon shall be understood to > be neither given nor endorsed by Mascon. Any > information contained in this email, when addressed > to Mascon clients is subject to the terms and > conditions in governing client contract. > > Whilst Mascon takes steps to prevent the > transmission of viruses via e-mail, we can not > guarantee that any email or attachment is free from > computer viruses and you are strongly advised to > undertake your own anti-virus precautions. Mascon > grants no warranties regarding performance, use or > quality of any e-mail or attachment and undertakes > no liability for loss or damage, howsoever caused. > > >____________________________________________________________________________________ Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
bilal ghayyad
2007-Sep-17 07:11 UTC
[asterisk-users] stop log/debug messages into /var/log/messages
Dear Benjamin; OK friend, things are clear. But now I came to the same original issue that you asked about it, which is the ability to stop the log/debug messages into /var/log/messages. Same like your situation, the messages is comment (;) and even the logges are written to the /var/log/messages, so why that is happening? Did u find answer for that? Regards Bilal ____________________________________________________________________________________ Pinpoint customers who are looking for what you sell. http://searchmarketing.yahoo.com/
Tzafrir Cohen
2007-Sep-17 07:50 UTC
[asterisk-users] stop log/debug messages into /var/log/messages
On Sun, Sep 16, 2007 at 03:21:04PM -0700, bilal ghayyad wrote:> Dear Benjamin; > > OK friend, things are clear. But now I came to the > same original issue that you asked about it, which is > the ability to stop the log/debug messages into > /var/log/messages./var/log/messages comes from the syslog (the system logging daemon). Asterisk can log to syslog if you tell it. Look for "syslog" in the sample config file. Though normally this option is not used. Alternatively, someone else is creating those messages. -- Tzafrir Cohen icq#16849755 jabber:tzafrir at jabber.org +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
bilal ghayyad
2007-Sep-19 17:55 UTC
[asterisk-users] stop log/debug messages into /var/log/messages
Dear Cohen; But as I remembered, they told you something about the syslog, I did not understand it, could u please explain it for me and it relation with our problem? Regards Bilal> Dear Benjamin; > > OK friend, things are clear. But now I came to the > same original issue that you asked about it, whichis> the ability to stop the log/debug messages into > /var/log/messages./var/log/messages comes from the syslog (the system logging daemon). Asterisk can log to syslog if you tell it. Look for "syslog" in the sample config file. Though normally this option is not used. Alternatively, someone else is creating those messages. -- Tzafrir Cohen icq#16849755 jabber:tzafrir at jabber.org +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir ____________________________________________________________________________________ Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. http://answers.yahoo.com/dir/?link=list&sid=396545433