23 Mar
2010
23 Mar
'10
9:45 a.m.
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 analyze. 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 file("/var/log/${USER.TIMEZONE}"); this requires syslog-ng 3.0 or 3.1 -- Bazsi