[syslog-ng] Syslog-ng log file overwrite
Valdis.Kletnieks at vt.edu
Valdis.Kletnieks at vt.edu
Fri Mar 9 19:52:02 CET 2007
On Fri, 09 Mar 2007 16:46:18 +0530, "Padmanabhan, Rajeesh (GE Healthcare)" said:
> Basically what i am trying to configure is log rotation of Syslog-ng
> files.
You can always cheat, like this:
file("/logs/$HOST/$YEAR/$MONTH/messages-$YEAR-$MONTH$DAY");
Voila! instant auto-magic rotation at midnight. :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 226 bytes
Desc: not available
Url : http://lists.balabit.hu/pipermail/syslog-ng/attachments/20070309/b008f479/attachment.pgp
More information about the syslog-ng
mailing list