Apache combined log files are getting too large each day in a single file, it is hitting over hundreds megabytes,
Which is a quick way or how can i configure to store files per day basis?
Will this work ?
CustomLog "|/usr/sbin/rotatelogs -l /var/log/httpd/access.log.%Y-%m-%d 2419200"
operating on LINUX
Best Answer
use rotatelogs
CustomLog "|/usr/sbin/rotatelogs PATH_TO_LOG_DIR/access_log.%Y%m%d 86400 -360" common