[syslog-ng] Circular File Output

Kevin kkadow at gmail.com
Thu Jun 29 23:33:42 CEST 2006


On 6/29/06, Valdis.Kletnieks at vt.edu <Valdis.Kletnieks at vt.edu> wrote:
> On Thu, 29 Jun 2006 16:46:01 EDT, Kenneth Kassing said:
> >  To this end, I must maintain very small log files.  I have
> > looked into log rotation, but do not wish to take the crond /
> > logrotate approach.

You might want to look at how DJB solved this in daemontools,
via the "multilog" program, http://cr.yp.to/daemontools/multilog.html
See the section on "Automatically rotated logs".

If you want to experiment with multilog, you can call it from syslog-ng
as a 'program' destination.

Kevin


More information about the syslog-ng mailing list