newsyslog.conf revision 202218
1126383Sphk# configuration file for newsyslog
2126383Sphk# $FreeBSD: head/etc/newsyslog.conf 202218 2010-01-13 19:07:48Z ed $
3126383Sphk#
4126383Sphk# Entries which do not specify the '/pid_file' field will cause the
5126383Sphk# syslogd process to be signalled when that log file is rotated.  This
6126383Sphk# action is only appropriate for log files which are written to by the
7126383Sphk# syslogd process (ie, files listed in /etc/syslog.conf).  If there
8126383Sphk# is no process which needs to be signalled when a given log file is
9126383Sphk# rotated, then the entry for that file should include the 'N' flag.
10126383Sphk#
11126383Sphk# The 'flags' field is one or more of the letters: BCGJNUWZ or a '-'.
12126383Sphk#
13126383Sphk# Note: some sites will want to select more restrictive protections than the
14126383Sphk# defaults.  In particular, it may be desirable to switch many of the 644
15126383Sphk# entries to 640 or 600.  For example, some sites will consider the
16126383Sphk# contents of maillog, messages, and lpd-errs to be confidential.  In the
17126383Sphk# future, these defaults may change to more conservative ones.
18126383Sphk#
19126383Sphk# logfilename          [owner:group]    mode count size when  flags [/pid_file] [sig_num]
20126383Sphk/var/log/all.log			600  7	   *	@T00  J
21126383Sphk/var/log/amd.log			644  7	   100	*     J
22126383Sphk/var/log/auth.log			600  7     100  *     JC
23126383Sphk/var/log/console.log			600  5	   100	*     J
24126383Sphk/var/log/cron				600  3	   100	*     JC
25126383Sphk/var/log/daily.log			640  7	   *	@T00  JN
26126383Sphk/var/log/debug.log			600  7     100  *     JC
27126383Sphk/var/log/kerberos.log			600  7	   100	*     J
28162806Sru/var/log/lpd-errs			644  7	   100	*     JC
29126383Sphk/var/log/maillog			640  7	   *	@T00  JC
30126383Sphk/var/log/messages			644  5	   100	*     JC
31126383Sphk/var/log/monthly.log			640  12	   *	$M1D0 JN
32126383Sphk/var/log/pflog				600  3	   100	*     JB    /var/run/pflogd.pid
33126383Sphk/var/log/ppp.log	root:network	640  3	   100	*     JC
34126383Sphk/var/log/security			600  10	   100	*     JC
35126383Sphk/var/log/sendmail.st			640  10	   *	168   B
36126383Sphk/var/log/utx.log			644  3	   *	@01T05 B
37126383Sphk/var/log/weekly.log			640  5	   1	$W6D0 JN
38126383Sphk/var/log/xferlog			600  7	   100	*     JC
39126383Sphk