You just try by enabling logging buffered. Even after enabling this
feature some how you won't see dubug on con ..... but you can find
them in sh logging..
Hope it will help you.
Brgds
Bhuvanesh
CCIE R&S # 24341
On Thu, Apr 16, 2009 at 10:38 PM, jeremy co <jeremy.cool14_at_gmail.com> wrote:
> 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
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
Blogs and organic groups at http://www.ccie.net
Received on Sun May 17 2009 - 22:53:40 ART
This archive was generated by hypermail 2.2.0 : Mon Jun 01 2009 - 07:04:43 ART