Is there a recommended way of maintaing httpd logs?
SirDice Administrator Staff member Administrator Moderator Mar 26, 2020 #2 Just add something for newsyslog(8). Something like this: Code: # cat /usr/local/etc/newsyslog.conf.d/apache.conf # Apache /var/log/httpd-access.log 644 14 * @T00 B /var/run/httpd.pid 30 /var/log/httpd-error.log 644 14 * @T00 B /var/run/httpd.pid 30
Just add something for newsyslog(8). Something like this: Code: # cat /usr/local/etc/newsyslog.conf.d/apache.conf # Apache /var/log/httpd-access.log 644 14 * @T00 B /var/run/httpd.pid 30 /var/log/httpd-error.log 644 14 * @T00 B /var/run/httpd.pid 30