xref: /freebsd/usr.sbin/newsyslog/newsyslog.conf (revision a64729f5077d77e13b9497cb33ecb3c82e606ee8)
1# configuration file for newsyslog
2#
3# Entries which do not specify the '/pid_file' field will cause the
4# syslogd process to be signalled when that log file is rotated.  This
5# action is only appropriate for log files which are written to by the
6# syslogd process (ie, files listed in /etc/syslog.conf).  If there
7# is no process which needs to be signalled when a given log file is
8# rotated, then the entry for that file should include the 'N' flag.
9#
10# Note: some sites will want to select more restrictive protections than the
11# defaults.  In particular, it may be desirable to switch many of the 644
12# entries to 640 or 600.  For example, some sites will consider the
13# contents of maillog, messages, and lpd-errs to be confidential.  In the
14# future, these defaults may change to more conservative ones.
15#
16# logfilename          [owner:group]    mode count size when  flags [/pid_file] [sig_num]
17/var/log/all.log			600  7	   *	@T00  J
18/var/log/auth.log			600  7	   1000 @0101T JC
19/var/log/console.log			600  5	   1000	*     J
20/var/log/cron				600  3	   1000	*     JC
21/var/log/daemon.log			644  5	   1000	@0101T JC
22/var/log/daily.log			640  7	   *	@T00  JN
23/var/log/debug.log			600  7	   1000 *     JC
24/var/log/devd.log			644  3	   1000	*     JC
25/var/log/init.log			644  3	   1000	*     J
26/var/log/kerberos.log			600  7	   1000	*     J
27/var/log/maillog			640  7	   *	@T00  JC
28/var/log/messages			644  5	   1000	@0101T JC
29/var/log/monthly.log			640  12	   *	$M1D0 JN
30/var/log/security			600  10	   1000	*     JC
31/var/log/utx.log			644  3	   *	@01T05 B
32/var/log/weekly.log			640  5	   *	$W6D0 JN
33
34<include> /etc/newsyslog.conf.d/[!.]*.conf
35<include> /usr/local/etc/newsyslog.conf.d/[!.]*.conf
36