Comware Based
cancel
Showing results for 
Search instead for 
Did you mean: 

Syslog Warning severity

leortiz
Occasional Advisor

Syslog Warning severity

Hello Guys.

 

For a long time I had used syslog oncritical severity, but yesterday I connect on one switch and received alerts about CRC interface errors, so I decided to change my severity level to receive warning logs too.

 

But when I configure to log just warning events, I'm receiving Notification events too... I can't undertand WHY, cause Notification is lvl 5 and Warning is 4, theoretically, I should receive just Emer/Alert/Error/Critical/Warning, right ?

 

My config:

 

info-center source default channel 2 log level warnings trap state off debug state off

 

1 REPLY
Apachez-
Trusted Contributor

Re: Syslog Warning severity

Dunno if this fits your needs but this is what I use:

 

 

info-center source default channel 0 log state off trap state off
info-center source default channel 1 log state off trap state off
info-center source default channel 2 trap level informational debug level informational
info-center source default channel 4 trap level informational debug level informational
info-center loghost source LoopBack0
info-center loghost <REMOVED>
info-center logbuffer size 1024
info-center trapbuffer size 1024
info-center synchronous
info-center timestamp loghost iso
undo info-center logfile enable