Merge from vendor branch TNFTP:
[dragonfly.git] / etc / newsyslog.conf
1 # configuration file for newsyslog
2 # $FreeBSD: src/etc/newsyslog.conf,v 1.25.2.12 2003/05/12 23:15:33 gad Exp $
3 # $DragonFly: src/etc/newsyslog.conf,v 1.3 2004/09/21 21:25:28 joerg Exp $
4 #
5 # Entries which do not specify the '/pid_file' field will cause the
6 # syslogd process to be signalled when that log file is rotated.  This
7 # action is only appropriate for log files which are written to by the
8 # syslogd process (ie, files listed in /etc/syslogd.conf).  If there
9 # is no process which needs to be signalled when a given log file is
10 # rotated, then the entry for that file should include the 'N' flag.
11 #
12 # The 'flags' field is one or more of the letters: BCGJNUWZ or a '-'.
13 #
14 # Note: some sites will want to select more restrictive protections than the
15 # defaults.  In particular, it may be desirable to switch many of the 644
16 # entries to 640 or 600.  For example, some sites will consider the
17 # contents of maillog, messages, and lpd-errs to be confidential.  In the
18 # future, these defaults may change to more conservative ones.
19 #
20 # logfilename          [owner:group]    mode count size when  flags [/pid_file] [sig_num]
21 /var/log/cron                           600  3     100  *     Z
22 /var/log/amd.log                        644  7     100  *     Z
23 /var/log/auth.log                       600  7     100  *     Z
24 /var/log/kerberos.log                   600  7     100  *     Z
25 /var/log/lpd-errs                       644  7     100  *     Z
26 /var/log/maillog                        640  7     *    @T00  Z
27 /var/log/sendmail.st                    640  10    *    168   B
28 /var/log/messages                       644  5     100  *     Z
29 /var/log/all.log                        600  7     *    @T00  Z
30 /var/log/slip.log       root:network    640  3     100  *     Z
31 /var/log/pflog                          600  3     100  *     ZB    /var/run/pflogd.pid
32 /var/log/ppp.log        root:network    640  3     100  *     Z
33 /var/log/security                       600  10    100  *     Z
34 /var/log/wtmp                           644  3     *    @01T05 B
35 /var/log/daily.log                      640  7     *    @T00  ZN
36 /var/log/weekly.log                     640  5     1    $W6D0 ZN
37 /var/log/monthly.log                    640  12    *    $M1D0 ZN
38 /var/log/console.log                    600  5     100  *     Z