[syslog-ng] ISODATE, timezone offset and daylight saving

Per Jessen per at computer.org
Fri Jul 28 18:22:58 CEST 2006


My local timezone is CET and as we've currently got daylights saving on,
we're two hours ahead of UTC.  So the offset - when using the ISODATE
format - should be +0200.  Instead it is +0100. 

I'm on glibc 2.4.  Distro is SUSE 10.1, syslog-ng is 1.6.8.
The machines hardware clock is in UTC, localtime time CEST.

tournesol:/var/log # date
Fri Jul 28 18:19:56 CEST 2006
tournesol:/var/log # date -u
Fri Jul 28 16:20:01 UTC 2006
tournesol:/var/log #  
tournesol:/var/log # date  +%z
+0200


Am I likely to be doing something wrong?  From /var/log/mail:

2006-07-28T18:06:39+0100 tournesol postfix/qmgr[7815]: 3E62737129:
removed



/Per Jessen, Zürich



More information about the syslog-ng mailing list