logger, locales and syslog-ng
Hi, when trying to log to different files, by using the following configuration entry, syslog-ng does not handle all date information correctly. destination syslog { file("/var/log/syslog-$YEAR-$MONTH-$DAY" owner("root") group("adm") perm(0640)); }; If the environment-variable LC_ALL is set to de_DE logger produces a german-language output and syslog-ng logs the message to /var/log/syslog-2000-12-31. Is it possible to configure syslog-ng that it does not look at the date of the incoming log packet? Ciao, Thomas -- Thomas Kähn WESTEND GmbH - Aachen und Dueren Tel 0241/701333-0 tk@westend.com Internet & Security for Professionals Fax 0241/911879 WESTEND ist CISCO Systems Partner - Premium Certified
Thomas Kaehn on Thu, Oct 25, 2001 at 03:04:04PM +0200:
Is it possible to configure syslog-ng that it does not look at the date of the incoming log packet?
use_time_recvd(yes) .. see documentation. -- ____ ____ / _/| - > Gregor Binder <gb@(rootnexus.net|sysfive.com)> | / || _\ \ \__ Id: 0xE2F31C4B Fp: 8B8A 5CE3 B79B FBF1 5518 8871 0EFB AFA3 E2F3 1C4B
Hallo Gregor, On Thu, Oct 25, 2001 at 03:56:12PM +0200, Gregor Binder wrote:
Is it possible to configure syslog-ng that it does not look at the date of the incoming log packet? use_time_recvd(yes) .. see documentation. Thank you..
Ciao, Thomas -- Thomas Kähn WESTEND GmbH - Aachen und Dueren Tel 0241/701333-0 tk@westend.com Internet & Security for Professionals Fax 0241/911879 WESTEND ist CISCO Systems Partner - Premium Certified
participants (2)
-
Gregor Binder
-
Thomas Kaehn