Opened 3 months ago

Closed 3 months ago

#5803 closed (duplicate)

syslog - wrong timestamp

Reported by: s1mf3r Owned by:
Keywords: syslog, ntp Cc:

Description

After setting my time settings successfully (see screenshot) syslog shows a wrong timestamp on each logged message.

I can confirm that a "date" command issued via ssh returns the correct time though.

restarting syslog using "startstop syslog" fixes the problem until the next reboot

root@DD-WRT:~# date
Sun Apr  9 23:04:44 CEST 2017
root@DD-WRT:~# startstop syslog
root@DD-WRT:~# cat /tmp/var/log/messages
Apr  9 21:04:04 DD-WRT authpriv.info dropbear[30353]: Child connection from 10.10.0.100:2557
Apr  9 21:04:07 DD-WRT authpriv.notice dropbear[30353]: Password auth succeeded for 'root' from 10.10.0.100:2557
Apr  9 21:04:53 DD-WRT user.info : syslogd : syslog daemon successfully stopped
Apr  9 23:04:53 DD-WRT syslog.info syslogd exiting
Apr  9 23:04:53 DD-WRT syslog.info syslogd started: BusyBox v1.26.2

Screenshots: NTP Settings: (https://puu.sh/veSES/2de304547b.png)

Change History (1)

comment:1 Changed 3 months ago by tatsuya46

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.