Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

syslog time on device is incorrect

Hi,

Company switches display incorrect time value on log buffer, although they are synchronized with NTP server:

TNSWAGCS01013#sh log

(truncated)

Apr  5 14:20:40.188: %SYS-5-CONFIG_I: Configured from console by wassim on vty0 (10.100.7.2)

Apr  5 14:20:47.360: %LINK-3-UPDOWN: Interface FastEthernet0/11, changed state to down

Apr  5 14:20:48.752: %SYS-5-CONFIG_I: Configured from console by wassim on vty0 (10.100.7.2)

the clock value is correct:

TNSWAGCS01013#sh cloc

15:21:09.573 CET Thu Apr 5 2012

TNSWAGCS01013#

TNSWAGCS01013#show ntp statu

Clock is synchronized, stratum 9, reference is 10.100.254.1 

nominal freq is 119.2092 Hz, actual freq is 119.2090 Hz, precision is 2**17

reference time is D3282603.42950715 (15:09:07.260 CET Thu Apr 5 2012)

Any idea?

Wass

Everyone's tags (4)
1 ACCEPTED SOLUTION

Accepted Solutions
Blue

Re: syslog time on device is incorrect

Do you have something along the lines of "service timestamps log datetime localtime show-timezone" configured? If so, what does it look like exactly?

2 REPLIES
Blue

Re: syslog time on device is incorrect

Do you have something along the lines of "service timestamps log datetime localtime show-timezone" configured? If so, what does it look like exactly?

Community Member

syslog time on device is incorrect

Hi,

Thanks, your hint helped me figure it out. In fact, I should have configured the following line: service timestamps log datetime msec localtime"

Problem solved.

Wass

770
Views
0
Helpful
2
Replies
CreatePlease to create content