I have tried two options in the config file that don't seem to work
properly. I have many devices logging to this box creating a file for each
day. When one month is up, I hope that they will begin to write over the
previous months file. Here is how I was attempting to do this:
First I have tried to set the log_fifo_size to
12288 lines. According to the extended sample syslog-ng conf
file this setting will set the number of lines for the output file.
However, I have many files that are way over this line amount. Does
this option work?
However, an even better solution seemed to set the remove_if_older option
to say 172800 (2 days). This way when it comes back around to the first
day of the month (01) then it would see that this file is older than 2 days and
wack it and start with a new "01" file.
Any ideas how to get this to work with syslog-ng. I have a fix for
it, but would rather not leave it to external scripts to fix the problem.
Any suggestions?
Tim