[BACK]Return to newsyslog.conf CVS log [TXT][DIR] Up to [local] / src / etc

File: [local] / src / etc / newsyslog.conf (download)

Revision 1.31, Fri Mar 21 13:22:09 2014 UTC (10 years, 1 month ago) by ajacoutot
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.30: +3 -1 lines

Add nginx default log files to the rotation.

ok jung@ stephan@
tweaks and ok sthen@

#	$OpenBSD: newsyslog.conf,v 1.31 2014/03/21 13:22:09 ajacoutot Exp $
#
# configuration file for newsyslog
#
# logfile_name		owner:group     mode count size when  flags
/var/cron/log		root:wheel	600  3     10   *     Z
/var/log/aculog		uucp:dialer	660  7     *    24    Z
/var/log/authlog	root:wheel	640  7     *    168   Z
/var/log/daemon				640  5     30   *     Z
/var/log/lpd-errs			640  7     10   *     Z
/var/log/maillog			600  7     *    24    Z
/var/log/messages			644  5     30   *     Z
/var/log/secure				600  7     *    168   Z
/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