[syslog-ng]circular logging & control structure based destination
Glen Williams
glenie@ozemail.com.au
Fri, 20 Apr 2001 16:57:54 +1000
Dan Bernstein's multilog sort of has what you need for file size limits. All
his stuff just uses pipes, so you can stick it in a syslog-ng config easily.
It's not really circular, as when the file hits it's limit, it gets rotated.
The current file is always called the same thing, so it should suit.
This software is at http://cr.yp.to/daemontools.html
Glen
----- Original Message -----
From: "Shawn Davenport" <shawn.davenport@currenex.com>
To: <syslog-ng@lists.balabit.hu>
Sent: Friday, April 20, 2001 3:09 PM
Subject: [syslog-ng]circular logging & control structure based destination
> Hey Folks,
> Can syslog-ng do circular logging? If you are wondering what I mean by
that,
> I'm referring to writing messages to a file, and when the destination
> reaches a limit, old messages are removed so the new ones can hang around
> for a bit. The limit could be file size, message date or time, or
something
> else perhaps. For my needs, I would love to set a file size limit. Say
> 20megs per destination file.