access log retention and rotation with WHM

I'm helping a friend out, and I'm new to Webhost Manager/cpanel. I'm used to doing access log file rotation and retention using logrotate.

Under WHM, it appears I only have 2 options. Either delete the access logs after webanalyzer reports are done, or keep an entire month before a log file will be archived. The problem is that one of the sites won't survive a month before the log file reaches 2GB, a hard limit for apache log files, and the server begins to fail.

Is there a way to make the access log rotation and retention policies more flexible? I'm afraid that if I do this at the OS level, I'm going to move the log data while web analyzer reports are running, rendering them useless.

Thanks in advance for any info.

 

 

 

 

Top