Mailinglist Archive: opensuse (2217 mails)
| < Previous | Next > |
Re: [opensuse] Cyrus and Syslogng
- From: Moby <moby@xxxxxxxxxxxxxx>
- Date: Tue, 18 Sep 2007 08:27:27 -0500
- Message-id: <46EFD23F.9040706@xxxxxxxxxxxxxx>
Geert-Jan de Laat wrote:
Hi All,I have it working fine with the following settings, though mine is on SuSE 10.0 at the moment. Here are the entries in my syslog-ng.conf (you say you modified syslog-nf.log?):
I’m trying to redirect my cyrus messages from /var/log/messages to
/var/log/cyrus on OpenSuSE 10.2. I’ve changed my syslog-ng.log file as
follows:
### Start of code snippet ###
filter f_cyrus { facility(local6); };
#
# Log cyrus messages to a separate file.
#
destination cyrusmessages { file("/var/log/cyrus"); };
log { source(src); filter(f_cyrus); destination(cyrusmessages); };
### End of code snippet ###
After restarting syslog-ng with rcsyslog restart, no messages show up in the
file /var/log/cyrus.
Anyone have any clues on what I’m doing wrong?????
Best regards,
Geert-Jan
filter f_cyrus { program("lmtpunix") or program("imap") or program("ctl_cyrusdb") or program("cyr_expire") or match("master"); };
destination cyrus { file("/var/log/cyrus"); };
log { source(src); filter(f_cyrus); destination(cyrus); };
--
--Moby
They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |