[syslog-ng] [PATCH] affile: Implement size based filename rotation.
Gergely Nagy
algernon at balabit.hu
Fri Aug 19 18:30:58 CEST 2011
Gergely Nagy <algernon at balabit.hu> writes:
> Based on a patch made by Sergei Zhirikov for syslog-ng 3.1, this patch
> implements a new size-limit() option for file based destinations.
This is mostly for preview at the moment, there's a few corner cases
that I still want to iron out, including some cleanup of the code.
Nevertheless, this is what I could come up with in the little time I had
today. So far, it works, and I did not manage to break it horribly yet.
99% of the credit goes to Sergei, I merely adapted his code to 3.3, and
added some templating magic.
Sorry again that this took so long.
--
|8]
More information about the syslog-ng
mailing list