Re: syslog-ng

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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

----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux