Results 1 to 2 of 2
Thread: Logrotate for Apache vhost logs
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Dec 2006
Logrotate for Apache vhost logs
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