Results 1 to 2 of 2
Hi,
I have 50 or so vhosts, each logging to /home/SITENAME/logs/access.log. The only way I can see is to add logrotate entries for every vhost - using say /home/*/log/access.log doesn't ...
- 12-20-2007 #1Just Joined!
- Join Date
- Dec 2006
- Posts
- 24
Logrotate for Apache vhost logs
Hi,
I have 50 or so vhosts, each logging to /home/SITENAME/logs/access.log. The only way I can see is to add logrotate entries for every vhost - using say /home/*/log/access.log doesn't seem to work in logrotate.
Any thoughts on a solution? Of course I could add an entry to logrotate every time I add a new site, I was just looking for something cleverer, plus each logrotate entry for the vhost would involve restarting apache
- 12-31-2007 #2


Reply With Quote