You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by David Richards <da...@skyforge.net> on 2009/12/08 13:21:17 UTC

[users@httpd] rotatelogs + weekend cronjobs

Hi,
      I have a issue which I would like to solve as it would mean I 
wouldnt have to login on the weekends.  This is the command I am using 
pretty much across all my vhosts.
"CustomLog "|/usr/sbin/rotatelogs 
/var/log/httpd/nameofwebsite.access.log.%Y-%m-%d-%H_%M_%S 5M" combined"

The only issue I have at the moment is on the weekends, something is not 
doing something correctly and I end up with 2-3 copies of rotatelogs 
running per vhost and probably more if I wasnt keeping this in check.
To solve this I have to log in and "killall" the current rotatelogs 
proccess to "resync" back to one per vhost.
What is causing this and how to stop it ?

Any pointers/url/help would be much appreciated.

David


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> 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