[asterisk-users] stop log/debug messages into /var/log/messages

Benjamin Jacob benjamin.jacob at mgl.com
Tue Sep 18 00:29:10 CDT 2007


Naa Bilal, haven't got to investigate it thoroughly yet. Kinda been 
occupied. Will let you know, if I do manage to do that.

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.
>
>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
>
>  
>


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. 





More information about the asterisk-users mailing list