One of the sites in the server has lots of access and
the size of access_log grows very fast.
It reaches 2GB before daily log-rotating(it is at 4:00am), and apache dies.
Anyone please teach me how to rotate the access_log hourly for one site?(for example, only for site5)
My server is ensim3.1 with Redhat
I copied "logrotate" located in /etc/cron.daily
to /etc/cron.hourly but no luck..
I copied "logrotate" located in
/home/virtual/site5/fst/etc/cron.daily/ to
/home/virtual/site5/fst/etc/cron.hourly/ but no luck..
I also edited crontab and add the line below.
01 * * * * root run-parts /home/virtual/site5/fst/etc/cron.hourly but no luck..