[CentOS] Logrotate Issue

Maciej Żenczykowski maze at cela.pl
Wed Oct 12 21:11:56 UTC 2005


I think you explicity need to do a graceful apache restart
in order for it to pick up on the log file rotation, this
is no different to what is normally done with other logfiles
for other services (you'll see signals being sent, etc.)

MaZe.

On Wed, 12 Oct 2005, John Hinton wrote:

> I keep logfiles for each of our hosted domains in their root/logs directory. 
> Each month, logrotate runs but fails to recreate the logfiles after this 
> rotation. I've noted that a restart of Apache fixes this. The issue is 
> Webalizer doesn't have log files to work from for a day to several days 
> depending on whatever the heck it is that seems to recreate them like on 
> Sunday following the start of a new month.
>
> Perhaps my storage of the logs in a 'semi-non-standard' location is causing 
> this? I sure would like to have some input into  a best solution. I really 
> don't like automatic restarts of Apache, but if there is no other option, 
> I'll do that. Anybody had this issue and come up with a good cure?
>
> Thanks,
> John Hinton
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



More information about the CentOS mailing list