[syslog-ng] timezones

Szeti, Balazs szeti.balazs at hp.com
Fri Nov 10 14:57:59 CET 2006


It seems, that the fix solved the problem. I haven't checked everything
yet, but the timestamps was just like I expected them. Thanks!

As far I see (and maybe it was also written in the manual) if I use the
S_XXXX macros in file name, then the time is converted to the local
timezone and the file is created with a name according to the received
timestamp converted to local timezone. In the logged line the original
timezone is used at the same time. Well, it's just fine for me, but it's
not a consistent way of using the S_XXXX macros. Should it be
configured? :)

I will report, if I find a bug with timezones!

Thanks for the quick response, I hope we will see the fix in a release

Best regards,
Balazs Szeti

-----Original Message-----
From: syslog-ng-bounces at lists.balabit.hu
[mailto:syslog-ng-bounces at lists.balabit.hu] On Behalf Of Balazs
Sent: Friday, November 10, 2006 11:28 AM
To: Syslog-ng users' and developers' mailing list
Subject: RE: [syslog-ng] timezones

On Thu, 2006-11-09 at 17:29 +0100, Szeti, Balazs wrote:
> Yes.
> I send these line to syslog-ng's TCP port with telnet:
> <140>2006-11-05T05:15:15+01:00 1 2 3
> <140>2006-11-05T05:15:15+02:00 1 2 3
> <140>2006-11-05T05:15:15+03:00 1 2 3

Can you check if the attached patch fixes this issue? I'd appreciate
some more thorough tests on the timezone code, it is quite tricky to get


More information about the syslog-ng mailing list