How to stop growing the Apache access_log file?

huahsin68 asked:

While setting up the Apache HTTP server in AIX, I never realize there is a log file, access_log, located at /var/log/httpd. This file is keep growing until 600+ MB, I am not able to keep track of its growing and may bring other issues in the future, may I know can I stop growing the file?

My answer:

Use something like logrotate, or the rotatelogs utility that came with Apache, to rotate your log files on a regular basis.

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.