1996-01-05 10:24:03 +00:00
|
|
|
# configuration file for newsyslog
|
1999-08-27 23:37:10 +00:00
|
|
|
# $FreeBSD$
|
1996-01-05 10:24:03 +00:00
|
|
|
#
|
2003-05-05 19:05:43 +00:00
|
|
|
# Entries which do not specify the '/pid_file' field will cause the
|
|
|
|
# syslogd process to be signalled when that log file is rotated. This
|
|
|
|
# action is only appropriate for log files which are written to by the
|
2003-08-07 21:04:40 +00:00
|
|
|
# syslogd process (ie, files listed in /etc/syslog.conf). If there
|
2003-05-05 19:05:43 +00:00
|
|
|
# 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.
|
|
|
|
#
|
2011-05-03 12:22:46 +00:00
|
|
|
# The 'flags' field is one or more of the letters: BCDGJNUXZ or a '-'.
|
2003-05-05 19:05:43 +00:00
|
|
|
#
|
2001-09-01 21:00:28 +00:00
|
|
|
# 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
|
|
|
|
# entries to 640 or 600. For example, some sites will consider the
|
|
|
|
# contents of maillog, messages, and lpd-errs to be confidential. In the
|
|
|
|
# future, these defaults may change to more conservative ones.
|
|
|
|
#
|
2003-05-05 19:05:43 +00:00
|
|
|
# logfilename [owner:group] mode count size when flags [/pid_file] [sig_num]
|
2013-05-12 21:24:18 +00:00
|
|
|
/var/log/all.log 600 7 * @T00 J
|
2016-08-24 23:02:20 +00:00
|
|
|
/var/log/auth.log 600 7 1000 @0101T JC
|
|
|
|
/var/log/console.log 600 5 1000 * J
|
|
|
|
/var/log/cron 600 3 1000 * JC
|
2013-05-12 21:24:18 +00:00
|
|
|
/var/log/daily.log 640 7 * @T00 JN
|
2016-08-24 23:02:20 +00:00
|
|
|
/var/log/debug.log 600 7 1000 * JC
|
|
|
|
/var/log/init.log 644 3 1000 * J
|
|
|
|
/var/log/kerberos.log 600 7 1000 * J
|
2013-05-12 21:24:18 +00:00
|
|
|
/var/log/maillog 640 7 * @T00 JC
|
2016-08-24 23:02:20 +00:00
|
|
|
/var/log/messages 644 5 1000 @0101T JC
|
2013-05-12 21:24:18 +00:00
|
|
|
/var/log/monthly.log 640 12 * $M1D0 JN
|
2016-08-24 23:02:20 +00:00
|
|
|
/var/log/devd.log 644 3 1000 * JC
|
|
|
|
/var/log/security 600 10 1000 * JC
|
2010-01-13 19:07:48 +00:00
|
|
|
/var/log/utx.log 644 3 * @01T05 B
|
2013-05-12 21:24:18 +00:00
|
|
|
/var/log/weekly.log 640 5 * $W6D0 JN
|
2014-05-20 03:00:20 +00:00
|
|
|
|
|
|
|
<include> /etc/newsyslog.conf.d/*
|
|
|
|
<include> /usr/local/etc/newsyslog.conf.d/*
|