[syslog-ng] Question RE: Timezone in filename

Balazs Scheidler bazsi at balabit.hu
Tue Mar 23 10:45:43 CET 2010

On Mon, 2010-03-22 at 16:07 -0700, Brian Donaldson wrote:
> I've configured syslog-ng to include the timezone in the log filename
> -- but the value used is "07:00".  Any way to get "PDT" instead? 

No, syslog-ng always uses the timezone offset to make it easier to

You could perhaps add this information in a name-value pair and use that
in your destination filename, e.g.

rewrite r_timezone { set("PDT" value("USER.TIMEZONE")); };

then use


this requires syslog-ng 3.0 or 3.1


More information about the syslog-ng mailing list