On Mon, Mar 05, 2001 at 06:09:19PM -0600, Lee Eakin wrote:
Well, it appears the I did not include the attachment (patch) which was the whole point of the message. My apologies if I DID include it and this is just wasted bandwidth.
Sorry for not reacting your message sooner.
For instance, 'logger test' prints:
Mar 2 20:18:15 japh[user,notice] logger: test
My patch is against 1.4.11 (current stable).I hope you will consider it's inclusion, or some variation of this patch.
You can achieve the same by using a release in the new 1.5.x branch, and using the template() feature of file destinations like this: destination d_file { file("/var/log/messages" template("$DATE $HOST[$FACILITY,$PRIORITY] $PROGRAM $MSG\n"); }; -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
No problem. I like the template method much better than what I hacked together. Looks like I need to pull down the dev branch and start playing. Thanks for the info. Next time I'll check the latest version before I bother you ;) -Lee ---begin quoted text---
Date: Fri, 9 Mar 2001 12:24:50 +0100 From: Balazs Scheidler <bazsi@balabit.hu> To: Lee Eakin <Leakin@japh.net> Cc: syslog-ng@lists.balabit.hu Subject: Re: syslog-ng suggestion User-Agent: Mutt/1.2.5i
On Mon, Mar 05, 2001 at 06:09:19PM -0600, Lee Eakin wrote:
Well, it appears the I did not include the attachment (patch) which was the whole point of the message. My apologies if I DID include it and this is just wasted bandwidth.
Sorry for not reacting your message sooner.
For instance, 'logger test' prints:
Mar 2 20:18:15 japh[user,notice] logger: test
My patch is against 1.4.11 (current stable).I hope you will consider it's inclusion, or some variation of this patch.
You can achieve the same by using a release in the new 1.5.x branch, and using the template() feature of file destinations like this:
destination d_file { file("/var/log/messages" template("$DATE $HOST[$FACILITY,$PRIORITY] $PROGRAM $MSG\n"); };
-- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1 ---end quoted text---
-- HELO. My $name is sendmail.cf. You filled my spooldir. Prepare to VRFY.
participants (2)
-
Balazs Scheidler
-
Lee Eakin