version 1.1, 2011/07/05 23:43:00
|
version 1.2, 2013/01/28 01:47:35
|
Line 1
|
Line 1
|
# configuration file for newsyslog |
# configuration file for newsyslog |
# $FreeBSD: src/etc/newsyslog.conf,v 1.52 2008/12/02 16:46:01 kensmith Exp $ | # $FreeBSD: src/etc/newsyslog.conf,v 1.57 2012/11/17 01:49:02 svnexp Exp $ |
# |
# |
# Entries which do not specify the '/pid_file' field will cause the |
# Entries which do not specify the '/pid_file' field will cause the |
# syslogd process to be signalled when that log file is rotated. This |
# syslogd process to be signalled when that log file is rotated. This |
Line 8
|
Line 8
|
# is no process which needs to be signalled when a given log file is |
# is no process which needs to be signalled when a given log file is |
# rotated, then the entry for that file should include the 'N' flag. |
# rotated, then the entry for that file should include the 'N' flag. |
# |
# |
# The 'flags' field is one or more of the letters: BCGJNUWZ or a '-'. | # The 'flags' field is one or more of the letters: BCDGJNUXZ or a '-'. |
# |
# |
# Note: some sites will want to select more restrictive protections than the |
# Note: some sites will want to select more restrictive protections than the |
# defaults. In particular, it may be desirable to switch many of the 644 |
# defaults. In particular, it may be desirable to switch many of the 644 |
Line 19
|
Line 19
|
# logfilename [owner:group] mode count size when flags [/pid_file] [sig_num] |
# logfilename [owner:group] mode count size when flags [/pid_file] [sig_num] |
/var/log/all.log 600 7 * @T00 J |
/var/log/all.log 600 7 * @T00 J |
/var/log/amd.log 644 7 100 * J |
/var/log/amd.log 644 7 100 * J |
/var/log/auth.log 600 7 100 * JC | /var/log/auth.log 600 7 100 @0101T JC |
/var/log/console.log 600 5 100 * J |
/var/log/console.log 600 5 100 * J |
/var/log/cron 600 3 100 * JC |
/var/log/cron 600 3 100 * JC |
/var/log/daily.log 640 7 * @T00 JN |
/var/log/daily.log 640 7 * @T00 JN |
/var/log/debug.log 600 7 100 * JC |
/var/log/debug.log 600 7 100 * JC |
|
/var/log/init.log 644 3 100 * J |
/var/log/kerberos.log 600 7 100 * J |
/var/log/kerberos.log 600 7 100 * J |
/var/log/lpd-errs 644 7 100 * JC |
/var/log/lpd-errs 644 7 100 * JC |
/var/log/maillog 640 7 * @T00 JC |
/var/log/maillog 640 7 * @T00 JC |
/var/log/messages 644 5 100 * JC | /var/log/messages 644 5 100 @0101T JC |
/var/log/monthly.log 640 12 * $M1D0 JN |
/var/log/monthly.log 640 12 * $M1D0 JN |
/var/log/pflog 600 3 100 * JB /var/run/pflogd.pid |
/var/log/pflog 600 3 100 * JB /var/run/pflogd.pid |
/var/log/ppp.log root:network 640 3 100 * JC |
/var/log/ppp.log root:network 640 3 100 * JC |
/var/log/security 600 10 100 * JC |
/var/log/security 600 10 100 * JC |
/var/log/sendmail.st 640 10 * 168 B |
/var/log/sendmail.st 640 10 * 168 B |
|
/var/log/utx.log 644 3 * @01T05 B |
/var/log/weekly.log 640 5 1 $W6D0 JN |
/var/log/weekly.log 640 5 1 $W6D0 JN |
/var/log/wtmp 644 3 * @01T05 B |
|
/var/log/xferlog 600 7 100 * JC |
/var/log/xferlog 600 7 100 * JC |