newsyslog.conf revision 244522
113250Sgraichen# configuration file for newsyslog 250472Speter# $FreeBSD: head/etc/newsyslog.conf 244522 2012-12-20 23:18:36Z markj $ 313250Sgraichen# 4114745Sgad# Entries which do not specify the '/pid_file' field will cause the 5114745Sgad# syslogd process to be signalled when that log file is rotated. This 6114745Sgad# action is only appropriate for log files which are written to by the 7118637Sfjoe# syslogd process (ie, files listed in /etc/syslog.conf). If there 8114745Sgad# is no process which needs to be signalled when a given log file is 9114745Sgad# rotated, then the entry for that file should include the 'N' flag. 10114745Sgad# 11221382Sru# The 'flags' field is one or more of the letters: BCDGJNUXZ or a '-'. 12114745Sgad# 1382758Srwatson# Note: some sites will want to select more restrictive protections than the 1482758Srwatson# defaults. In particular, it may be desirable to switch many of the 644 1582758Srwatson# entries to 640 or 600. For example, some sites will consider the 1682758Srwatson# contents of maillog, messages, and lpd-errs to be confidential. In the 1782758Srwatson# future, these defaults may change to more conservative ones. 1882758Srwatson# 19114745Sgad# logfilename [owner:group] mode count size when flags [/pid_file] [sig_num] 20110995Sdes/var/log/all.log 600 7 * @T00 J 21103263Sobrien/var/log/amd.log 644 7 100 * J 22233167Sglebius/var/log/auth.log 600 7 100 @0101T JC 23110995Sdes/var/log/console.log 600 5 100 * J 24142962Sbrooks/var/log/cron 600 3 100 * JC 25114747Sgad/var/log/daily.log 640 7 * @T00 JN 26142962Sbrooks/var/log/debug.log 600 7 100 * JC 27232977Sed/var/log/init.log 644 3 100 * J 28103263Sobrien/var/log/kerberos.log 600 7 100 * J 29142962Sbrooks/var/log/lpd-errs 644 7 100 * JC 30142962Sbrooks/var/log/maillog 640 7 * @T00 JC 31233167Sglebius/var/log/messages 644 5 100 @0101T JC 32114747Sgad/var/log/monthly.log 640 12 * $M1D0 JN 33127799Smlaier/var/log/pflog 600 3 100 * JB /var/run/pflogd.pid 34142962Sbrooks/var/log/ppp.log root:network 640 3 100 * JC 35142962Sbrooks/var/log/security 600 10 100 * JC 36244522Smarkj/var/log/sendmail.st 640 10 * 168 BN 37202218Sed/var/log/utx.log 644 3 * @01T05 B 38243568Sglebius/var/log/weekly.log 640 5 * $W6D0 JN 39142962Sbrooks/var/log/xferlog 600 7 100 * JC 40