01-25-2022 09:27 AM
I have a question that would be very easy to fix for Cisco but i cant beliefe noone asked for this already:
Can we finally add the Year to every log entry for obvious reasons?
Is there a solution to this already? Can we activate this somehow?
Solved! Go to Solution.
01-25-2022 09:51 AM
Hello,
the command:
service timestamps log datetime year
has been around for a very long time. The result is:
Jan 25 2021 17:43:17: %SYS-5-CONFIG_I: Configured from console by console
01-25-2022 09:32 AM - edited 01-25-2022 09:54 AM
Not sure if i understood your question correctly ? you looking syslog message to time stamp ?
below config will help you :
service timestamps debug datetime msec
service timestamps log datetime msec localtime show-timezone
more can be find here :
https://www.thebryantadvantage.com/home/ccna-command-reference/service-timestamps/
if this not correct please clarify ?
01-25-2022 09:51 AM
Hello,
the command:
service timestamps log datetime year
has been around for a very long time. The result is:
Jan 25 2021 17:43:17: %SYS-5-CONFIG_I: Configured from console by console
01-26-2022 12:04 AM
Hey there, this is exactly what i was looking for. Thank you very much.
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