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