Browse Source

Add httpd default log files to the rotation.

ok reyk@  (who suggested these lines a while ago)
OPENBSD_5_7
naddy 10 years ago
parent
commit
3092c08600
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/etc/newsyslog.conf

+ 3
- 1
src/etc/newsyslog.conf View File

@ -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 # configuration file for newsyslog
# #
@ -14,3 +14,5 @@
/var/log/wtmp 644 7 * $W6D4 B /var/log/wtmp 644 7 * $W6D4 B
/var/log/xferlog 640 7 250 * Z /var/log/xferlog 640 7 250 * Z
/var/log/pflog 600 3 250 * ZB "pkill -HUP -u root -U root -t - -x pflogd" /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"

Loading…
Cancel
Save