Logging
Written by Arnaud no commentsyou can check your log in buffer :
#show logging
By default the buffer is 4k (aprox 60 lines), you can change it with :
(config)#logging buffered 23456
Remove logging to console :
(config)#no logging console
Disable specific logging in the buffer :
(config)#logging discriminator nologthr msg-body drops string_or_regexp_to_match
(config)#logging buffered discriminator nologthr
To only have notifications (level 5) and more important logs :
(config)#logging buffered 40960 notifications Add proper time format to your logs : (config)#service timestamps log datetime localtime show-timezone
Log when someone fail (or success) to log in :
(config)#login on-failure log (config)#login on-success log