cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
678
Views
1
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

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
Hall of Fame
Hall of Fame

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

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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card