Skip to content

Web Developer Blog

Enable Apache Log Rotate

CustomLog “|/usr/sbin/rotatelogs -l /var/log/httpd/access.log.%Y%m%d 604800” combined
ErrorLog “|/usr/sbin/rotatelogs -l /var/log/httpd/error.log.%Y%m%d 604800”

Reference:
https://www.phpini.com/apache/apache-log-rotate

Author adminPosted on June 16, 2017June 16, 2017Categories Uncategorized

Post navigation

Previous Previous post: Show Timestamp in Bash History
Next Next post: imuxsock begins to drop messages from pid due to rate-limiting

Categories

  • No categories












Web Developer Blog Proudly powered by WordPress