cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
398
Views
0
Helpful
1
Replies

changing syslog message logging

mschooley
Level 1
Level 1

ok syslog in switches, default logg severity is 4, people want to see config changes which is a sys facility with a severity of 6, so if you change logg serve severity to 6, it works and loggs config changes, but also loggs all pagp level 5 events which is ports deinsserting and reinserting, so i figure if i set logg serve severity to 4 and set logg level sys 4 default this should change sys messages to a severity of 4 and thereby the should be logged, this doesnt work, any ideas?

1 Reply 1

mvoight
Level 1
Level 1

Mike,

You can't change a message from one severity level to another. A sev 6 message stays a sev 6 message. You need to change the logging level for the sys facility to 6 so you will get all messages thru sev 6.

What you can do is set the default logging level to 4 and set the log level for sys to 6.

set logging level all 4 default (set all logging to 4)

set logging level sys 6 default (change the setting to 6 for sys... this will show all sys messages for log levels 0-6 )

Michael

Review Cisco Networking for a $25 gift card