Browse Source

Add nginx default log files to the rotation.

ok jung@ stephan@
tweaks and ok sthen@
OPENBSD_5_6
ajacoutot 10 years ago
parent
commit
256de60572
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.30 2014/03/17 18:04:07 sthen Exp $
# $OpenBSD: newsyslog.conf,v 1.31 2014/03/21 13:22:09 ajacoutot 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 /var/run/nginx.pid SIGUSR1
/var/www/logs/error.log 644 7 250 * Z /var/run/nginx.pid SIGUSR1

Loading…
Cancel
Save