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

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

Revision 1.33, Wed Aug 27 13:46:32 2014 UTC (9 years, 8 months ago) by naddy
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.32: +3 -1 lines

Add httpd default log files to the rotation.
ok reyk@  (who suggested these lines a while ago)

#	$OpenBSD: newsyslog.conf,v 1.33 2014/08/27 13:46:32 naddy 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 "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"