diff options
author | Christian Weisgerber <naddy@cvs.openbsd.org> | 2014-08-27 13:46:33 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@cvs.openbsd.org> | 2014-08-27 13:46:33 +0000 |
commit | e9646141ed76dc6df81a46a37d162cd4cd094752 (patch) | |
tree | 3cb4eca161ad99c59c6ad4275119490315b11faa /etc | |
parent | 33c4005928e36cb57ee5103ab1c5cf426b8c8bac (diff) |
Add httpd default log files to the rotation.
ok reyk@ (who suggested these lines a while ago)
Diffstat (limited to 'etc')
-rw-r--r-- | etc/newsyslog.conf | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/newsyslog.conf b/etc/newsyslog.conf index cfa6dad35bc..d88761809be 100644 --- a/etc/newsyslog.conf +++ b/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" |