Logrotate question

Logrotate question

am 06.11.2002 22:47:09 von Sean Correia

Perhaps not an apache question, but it might be.

I have 2 versions of Apache running and generating their access and =
error logs to:

/var/log/apache-perl/
/var/log/apache-light/

In /etc/logrotate.conf I have:

/var/log/apache-light/access_log.* {
rotate 5
weekly
postrotate
/usr/bin/killall -HUP httpd
endscript
}

When I run /usr/sbin/logrotate -d /etc/logrotate.conf I get the =
following message for each logfile.

rotating file /var/log/apache-light/access_log.1036454400
log does not need rotating
rotating file /var/log/apache-light/access_log.1036540800
log does not need rotating


Some of these date back to August, and I am confused as to why logrotate =
is telling me the log doesn't need to be rotated. What have I missed?

Cheers,
Sean

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org