syslog-ng
Leon Kolchinsky
leonk at construct.haifa.ac.il
Mon Oct 22 05:50:20 EDT 2007
> Hi, I need help setting up Cyrus and syslog-ng to have all the Cyrus
> logs in their own files.
>
> It seems like I just cannot get it right, no matter how I try.
> So, I'd be grateful for setup info on syslog-ng to accomplish this.
>
> Thanks!
> Anders.
>
>
Hello Anders,
Look here -
http://linux.derkeiler.com/Mailing-Lists/SuSE/2007-09/msg01265.html
Or in short:
At syslog-ng.conf:
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); };
Best Regards,
Leon Kolchinsky
More information about the Info-cyrus
mailing list