Symptom
16.9.1: No way to stop popping up of "%SEC_LOGIN-5-LOGIN_SUCCESS: " logs on console.
%SEC_LOGIN-5-LOGIN_SUCCESS: " logs may be unnecessarily/annoyingly popping up on console and we may want to suppress those. Notably, "%SEC_LOGIN-5-LOGIN_SUCCESS: " logs pop up when "login on-success log" is present or configured on the box but here it is not the case and also there is no way to stop these logs (by applying command "no login on-success log") but to apply a workaround in the interim till next reboot.
Conditions
Default behaviour in 16.9.1. Behaviour has been changed due to applying of some security related asks/compliance and "login on-success log" getting enabled by default in the process.
Workaround
Switch(config)#no login ?
block-for Set quiet-mode active time period
delay Set delay between successive fail login
on-failure Set options for failed login attempt
on-success Set options for successful login attempt
quiet-mode Set quiet-mode options
Switch(config)#no login on-success ?
log Generate syslogs on successful logins
Switch(config)#no login on-success log ?
every Periodicity for logs generated
Switch(config)#no login on-success log every ?
Number defining periodicity
Switch(config)#no login on-success log every 65535 <=== Set some high number so periodicity is high and there would be less instances of popping of such events.
*Note:- This workaround would sustain till next reboot. So it needs to be applied after every reboot.
Further Problem Description