Changeset 13757 in hybrid for branches


Ignore:
Timestamp:
Jan 21, 2017, 11:00:31 PM (8 years ago)
Author:
rick
Message:

newsyslog has modular approch now

While here fix creation of files on start by newsyslog and add missing
entries for nsd.

Location:
branches/releng-11/nanobsd/files/etc
Files:
1 added
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • branches/releng-11/nanobsd/files/etc/newsyslog.conf.d/wleiden

    r13756 r13757  
    1 # configuration file for newsyslog
    2 # $FreeBSD: src/etc/newsyslog.conf,v 1.52.2.1.2.1 2009/10/25 01:10:29 kensmith 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/all.log                        600  7     *    @T00  J
    21 /var/log/amd.log                        644  7     100  *     J
    22 /var/log/auth.log                       600  7     100  *     JC
    23 /var/log/console.log            600  5     100  *     J
    24 /var/log/cron                           600  3     100  *     JC
    25 /var/log/daily.log                      640  7     *    @T00  JN
    26 /var/log/debug.log                      600  7     100  *     JC
    27 /var/log/kerberos.log           600  7     100  *     J
    28 /var/log/lpd-errs                       644  7     100  *     JC
    29 /var/log/maillog                        640  7     *    @T00  JC
    30 /var/log/messages                       644  5     100  *     JC
    31 /var/log/monthly.log            640  12    *    $M1D0 JN
    32 /var/log/pflog                          600  3     100  *     JB    /var/run/pflogd.pid
    33 /var/log/ppp.log        root:network    640  3     100  *     JC
    34 /var/log/security                       600  10    100  *     JC
    35 /var/log/sendmail.st            640  10    *    168   B
    36 /var/log/weekly.log                     640  5     1    $W6D0 JN
    37 /var/log/wtmp                           644  3     *    @01T05 B
    38 /var/log/xferlog                        600  7     100  *     JC
    391#
    402# WL NanoBSD Custom Log Files. As-rule-of-thumb, use syslog(4) instead custom
     
    457/var/log/thttpd.log                     644  3     100  *     JC
    468/var/log/openvpn.log                    644  3     100  *     JC
     9/var/log/nsd.log                        644  3     100  *     JC
     10/var/log/unbound.log                    644  3     100  *     JC
    4711/var/log/tinyproxy.log                  644  3     100  *     JC
    48 /var/log/httpd-*.log     root:wheel     640  3     100  *    BJG /var/run/httpd.pid 30
     12/var/log/httpd.log      root:wheel      640  3     100  *    BJG /var/run/httpd.pid 30
    4913
  • branches/releng-11/nanobsd/files/etc/syslog.conf

    r12934 r13757  
    3939!unbound
    4040*.*                                             /var/log/unbound.log
     41!nsd
     42*.*                                             /var/log/nsd.log
    4143
     44
Note: See TracChangeset for help on using the changeset viewer.