[CentOS] Syslog timezone issue

Fri Jan 11 20:31:08 UTC 2008
Bart Schaefer <barton.schaefer at gmail.com>

On Jan 11, 2008 12:13 PM, Filipe Brandenburger <filbranden at gmail.com> wrote:
>
> IIRC, the datestamp is put by the process that is logging, not by syslog
> itself. Maybe when that process started you hadn't configured the right
> /etc/localtime and the process still thinks it's running in UTC (processes
> read /etc/localtime only once).

Our daemon is started after sendmail and before cron, and both the
sendmail and cron log files use the local timezone, so ...

Also there's the phenomenon of the timezone changing in what seems to
be a random fashion when the process forks.

> Did you try rebooting the machine to see if it solves the problem?

It's been rebooted several times for other reasons.  No change.