newsyslog.conf wrong count of archive logs
Рихад Гаджиев
rihad at mail.ru
Thu Jun 1 00:16:14 PDT 2006
I'm using newsyslog (FreeBSD 6.0-RELEASE-p6) to manage Apache's monthly log files. The
relevant /etc/newsyslog.conf entry is
# logfilename [owner:group] mode count size when flags [/pid_file]
[sig_num]
/var/log/httpd/*log root:wheel 644 2 * $M1D3 GB /var/run/httpd.pid
30
newsyslog.conf(5) says:
count Specify the maximum number of archive files which may exist.
This does not consider the current log file.
But there already are 3 months worth of archive logs (*.0 *.1 *.2), excluding the
current log. What did I do wrong?
Thank you.
More information about the freebsd-questions
mailing list