September 21, 20178 yr Hi! Yesterday I've did a fresh installation of the latest unRAID build and guess what... The timezone in the logfile doesn't belong to the one I've set. Timezone set is for western Europe with default ntp server and it's showing the correct time. The time in the logfile is about 9 hrs back.... Any idea? Thx! b0mb Gesendet von meinem Redmi Note 3 mit Tapatalk
September 21, 20178 yr Maybe the log entries were generated before the timezone was set? You can type this command: logger test And that will create a syslog entry - is the timestamp correct?
September 21, 20178 yr Author the result is wrong Quote Sep 21 11:44:25 Tower root: test when i type date in the shell the right time is shown Thu Sep 21 20:45:29 CEST 2017
September 21, 20178 yr Author 2 minutes ago, bonienl said: What happens when you change the NTP server, for example: 0.de.pool.ntp.org still the same... and this does only belong to the log... the system time is correct but the time in the logfile is wrong....
September 21, 20178 yr 1 minute ago, b0mb said: still the same... and this does only belong to the log... the system time is correct but the time in the logfile is wrong.... I am in the same time zone as you and logfile times are correct. Not sure what causes your issue.
September 21, 20178 yr Please see if restarting the rsyslog daemon has any affect: /etc/rc.d/rc.rsyslogd restart logger test2 tail /var/log/syslog
September 21, 20178 yr Author 1 minute ago, limetech said: Please see if restarting the rsyslog daemon has any affect: /etc/rc.d/rc.rsyslogd restart logger test2 tail /var/log/syslog That solved the problem! Thx a lot!
Archived
This topic is now archived and is closed to further replies.