cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2196
Views
5
Helpful
4
Replies

Logs In UTC Time

Shaqxify
Level 1
Level 1

Hello NetPros,

 

I have successfully changed the timezone on my devices, in an attempt to have the logs show local time and not UTC I used the command “service timestamps log datetime localtime show-timezone” (found this in this forum).

The result is the time zone on the logs has changed but not the clock.

 

Dec 14 16:52:41 CAT: %PARSER-5-CFGLOG_LOGGEDCMD: User:administrator logged command:service timestamps log datetime localtime show-timezone

Dec 14 16:52:43 CAT: %SYS-5-CONFIG_I: Configured from console by administrator on vty0 (172.16.4.145)

ASW-001#

 

 

ASW-001#sh clock

16:55:49.847 CAT Mon Dec 14 2020

ASW-001#

 

Regards & Respect

Shaqx

 

 

 

4 Replies 4

balaji.bandi
Hall of Fame
Hall of Fame

Can show post below output :

 

show clock

show run | in logg

BB

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

How to Ask The Cisco Community for Help

Hello @balaji.bandi ,

Voila!! It hs picked logs are showing local time now. Thank you for your ever willingness to help.

 

Dec 14 2020 17:59:44 CAT: %SYS-5-CONFIG_I: Configured from console by administrator on vty0 (172.16.4.145)
Dec 14 2020 18:09:58 CAT: %SEC_LOGIN-5-LOGIN_SUCCESS: Login Success [user: administrator] [Source: 172.16.4.145] [localport: 22] at 18:09:58 CAT Mon Dec 14 2020
ASW-001# sh clo
18:13:58.734 CAT Mon Dec 14 2020
ASW-001#

Regards & Respect,

Shaqx

 

Glad all sorted we take this as resolved now.

BB

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

How to Ask The Cisco Community for Help

Joseph W. Doherty
Hall of Fame
Hall of Fame

I may be mistaken, but if you were looking for the router to also reset its clock when you reset the timezone, I recall (?), doesn't happen automatically.  Have you tried just resetting the clock value to your local time?