07-26-2019 09:22 AM
%SEC_LOGIN-5-LOGIN_SUCCESS information is annoying when "show log" in ASR1001-X like below. I already tried no login on-success log but after re-ssh again, log still shows me it. How to disable it?
Thanks!
*Jul 12 08:05:47.106 UTC: %SEC_LOGIN-5-LOGIN_SUCCESS: Login Success [user: tech] [Source: UNKNOWN] [localport: 0] at 08:05:47 UTC Fri Jul 12 2019
*Jul 12 08:50:42.094 UTC: %SEC_LOGIN-5-LOGIN_SUCCESS: Login Success [user: tech] [Source: UNKNOWN] [localport: 0] at 08:50:42 UTC Fri Jul 12 2019
*Jul 15 10:28:15.777 UTC: %SEC_LOGIN-5-LOGIN_SUCCESS: Login Success [user: tech] [Source: UNKNOWN] [localport: 0] at 10:28:15 UTC Mon Jul 15 2019
*Jul 17 08:18:24.719 UTC: %SEC_LOGIN-5-LOGIN_SUCCESS: Login Success [user: tech] [Source: UNKNOWN] [localport: 0] at 08:18:24 UTC Wed Jul 17 2019
*Jul 18 07:34:54.829 UTC: %SEC_LOGIN-5-LOGIN_SUCCESS: Login Success [user: tech] [Source: UNKNOWN] [localport: 0] at 07:34:54 UTC Thu Jul 18 2019
09-01-2020 05:40 AM
See if 'logging userinfo' is enabled. issuing 'no logging userinfo' worked for me.
David
09-01-2020 05:58 AM
Hello,
a logging discriminator works as well. For the message you have, it looks like below:
logging discriminator LOGSUC severity drops 5 facility drops SEC mnemonics drops LOGIN_SUCCESS
!
logging buffered discriminator LOGSUC 100000
logging console discriminator LOGSUC
logging monitor discriminator LOGSUC
logging host 192.168.100.10 discriminator LOGSUC
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide