cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
225
Views
0
Helpful
3
Replies

Add year to IOS Log

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Georg Pauwen
VIP Master

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

View solution in original post

3 REPLIES 3
balaji.bandi
VIP Guru

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 ?

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Georg Pauwen
VIP Master

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

Hey there, this is exactly what i was looking for. Thank you very much.