Re: how to enable syslog and prevent syslog messages from

From: jeremy co <jeremy.cool14_at_gmail.com>
Date: Fri, 17 Apr 2009 03:08:36 +1000

Well ,

I want to enable accounting on my gateway by:

gw-accounting syslog

syslog x.x.x.x

so every time call goes through router ,ruter generate CDR of call and send
it to syslog. problem is this ugly CDR log comes up to my console.

I want router just send this msg to syslog serverand I can keep my console
clean, so it doesn't bother me when I do debgging on other stuff.

Any idea?

Jeremy

On Fri, Apr 17, 2009 at 2:48 AM, Bryan Bartik <bbartik_at_ipexpert.com> wrote:

> Hi Jeremy,
>
> Not entirely sure I understand but it sounds like you only want debugs to
> show up on the console, and not the other logging levels. As far as I know,
> enabling a certain level includes all the lower ones as well. Once you
> enable debugging to the console, you enable everything else. Remember debug
> is just syslog level 7.
>
>
> Bryan Bartik
> CCIE #23707, CCNP
> Sr. Support Engineer - IPexpert, Inc.
> URL: http://www.IPexpert.com
>
> On Thu, Apr 16, 2009 at 9:38 AM, rakesh m <raaki.88_at_gmail.com> wrote:
>
>> i have never tried the options listed but i think the below command should
>> meet your requirements
>>
>> Router(config)#logg con ?
>> <0-7> Logging severity level
>> alerts Immediate action needed (severity=1)
>> critical Critical conditions (severity=2)
>> debugging Debugging messages (severity=7)
>> discriminator Establish MD-Console association
>> emergencies System is unusable (severity=0)
>> errors Error conditions (severity=3)
>> filtered Enable filtered logging
>> guaranteed Guarantee console messages
>> informational Informational messages (severity=6)
>> notifications Normal but significant conditions (severity=5)
>> warnings Warning conditions (severity=4)
>> xml Enable logging in XML
>> <cr>
>>
>>
>> Blogs and organic groups at http://www.ccie.net
>>
>> _______________________________________________________________________
>> Subscription information may be found at:
>> http://www.groupstudy.com/list/CCIELab.html
>>
>>
>>
>>
>>
>>
>>
>>
>
>
> --

Blogs and organic groups at http://www.ccie.net
Received on Fri Apr 17 2009 - 03:08:36 ART

This archive was generated by hypermail 2.2.0 : Mon May 04 2009 - 07:39:12 ART