1# configuration file for newsyslog 2# $FreeBSD: /repoman/r/ncvs/src/etc/newsyslog.conf,v 1.50 2005/03/02 00:40:55 brooks Exp $ 3# 4# Entries which do not specify the '/pid_file' field will cause the 5# syslogd process to be signalled when that log file is rotated. This 6# action is only appropriate for log files which are written to by the 7# syslogd process (ie, files listed in /etc/syslog.conf). If there 8# is no process which needs to be signalled when a given log file is 9# rotated, then the entry for that file should include the 'N' flag. 10# 11# The 'flags' field is one or more of the letters: BCGJNUWZ or a '-'. 12# 13# Note: some sites will want to select more restrictive protections than the 14# defaults. In particular, it may be desirable to switch many of the 644 15# entries to 640 or 600. For example, some sites will consider the 16# contents of maillog, messages, and lpd-errs to be confidential. In the 17# future, these defaults may change to more conservative ones. 18# 19# logfilename [owner:group] mode count size when flags [/pid_file] [sig_num] 20/var/log/ftp.log 640 5 1000 * J 21/var/log/hwmond.log 640 5 1000 * J 22/var/log/ipfw.log 640 5 1000 * J 23/var/log/lpr.log 640 5 1000 * J 24/var/log/ppp.log 640 5 1000 * J 25/var/log/wtmp 644 3 * @01T05 B 26