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

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

Revision 1.17, Fri Sep 21 17:59:21 2001 UTC (22 years, 8 months ago) by beck
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.16: +5 -5 lines

fix apache suggestion to leave files with root perms, rather than
changing to www.www - leaving them more easily modified by a problem
in a cgi or httpd. Also send SIGUSR1 for a graceful restart as apache
expects. noticed by mpech@, ok millert@

#	$OpenBSD: newsyslog.conf,v 1.17 2001/09/21 17:59:21 beck Exp $
#
# configuration file for newsyslog
#
# logfilename           owner.group     mode ngen size time [ZB]
/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    *    168   ZB
/var/log/xferlog			640  7    250  *     Z
/var/log/ppp.log			640  7    250  *     Z
/var/log/pflog				600  3    250  *     ZB	/var/run/pflogd.pid
#
# Uncomment to rotate apache logs
#
#/var/www/logs/access_log	 	644  7    250  *     Z /var/www/logs/httpd.pid SIGUSR1
#/var/www/logs/error_log	 	644  7    250  *     Z /var/www/logs/httpd.pid SIGUSR1
#
# Uncomment to rotate ssl logs
#
#/var/www/logs/ssl_engine_log		644  7    250  *     Z /var/www/logs/httpd.pid SIGUSR1
#/var/www/logs/ssl_request_log		644  7    250  *     Z /var/www/logs/httpd.pid SIGUSR1