From 3092c0860011bf720b468edfaf6ad97de9e3627a Mon Sep 17 00:00:00 2001 From: naddy <> Date: Wed, 27 Aug 2014 13:46:32 +0000 Subject: [PATCH] Add httpd default log files to the rotation. ok reyk@ (who suggested these lines a while ago) --- src/etc/newsyslog.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/etc/newsyslog.conf b/src/etc/newsyslog.conf index cfa6dad3..d8876180 100644 --- a/src/etc/newsyslog.conf +++ b/src/etc/newsyslog.conf @@ -1,4 +1,4 @@ -# $OpenBSD: newsyslog.conf,v 1.32 2014/08/26 19:33:48 robert Exp $ +# $OpenBSD: newsyslog.conf,v 1.33 2014/08/27 13:46:32 naddy Exp $ # # configuration file for newsyslog # @@ -14,3 +14,5 @@ /var/log/wtmp 644 7 * $W6D4 B /var/log/xferlog 640 7 250 * Z /var/log/pflog 600 3 250 * ZB "pkill -HUP -u root -U root -t - -x pflogd" +/var/www/logs/access.log 644 4 * $W0 Z "pkill -USR1 -u root -U root -x httpd" +/var/www/logs/error.log 644 7 250 * Z "pkill -USR1 -u root -U root -x httpd"