Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Jun 2006 11:16:08 +0400
From:      =?koi8-r?Q?=F2=C9=C8=C1=C4=20=E7=C1=C4=D6=C9=C5=D7?= <rihad@mail.ru>
To:        freebsd-questions@freebsd.org
Subject:   newsyslog.conf wrong count of archive logs
Message-ID:  <E1FlhPc-000PgD-00.rihad-mail-ru@f21.mail.ru>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1FlhPc-000PgD-00.rihad-mail-ru>