mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-15 06:42:51 +01:00
- Include /etc/newsyslog.conf.d/* and /usr/local/etc/newsyslog.conf.d/* by
default for newsyslog(8). The /usr/local/etc/newsyslog.conf.d will give packages an opportunity to install a default configuration to handle their own log files. MFC after: 2 weeks Relnotes: yes
This commit is contained in:
parent
6902364468
commit
b39df8fe2d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=266463
@ -42,6 +42,8 @@
|
|||||||
..
|
..
|
||||||
mtree
|
mtree
|
||||||
..
|
..
|
||||||
|
newsyslog.conf.d
|
||||||
|
..
|
||||||
ntp mode=0700
|
ntp mode=0700
|
||||||
..
|
..
|
||||||
pam.d
|
pam.d
|
||||||
|
@ -38,3 +38,6 @@
|
|||||||
/var/log/utx.log 644 3 * @01T05 B
|
/var/log/utx.log 644 3 * @01T05 B
|
||||||
/var/log/weekly.log 640 5 * $W6D0 JN
|
/var/log/weekly.log 640 5 * $W6D0 JN
|
||||||
/var/log/xferlog 600 7 100 * JC
|
/var/log/xferlog 600 7 100 * JC
|
||||||
|
|
||||||
|
<include> /etc/newsyslog.conf.d/*
|
||||||
|
<include> /usr/local/etc/newsyslog.conf.d/*
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
.\" the suitability of this software for any purpose. It is
|
.\" the suitability of this software for any purpose. It is
|
||||||
.\" provided "as is" without express or implied warranty.
|
.\" provided "as is" without express or implied warranty.
|
||||||
.\"
|
.\"
|
||||||
.Dd January 31, 2011
|
.Dd May 19, 2014
|
||||||
.Dt NEWSYSLOG 8
|
.Dt NEWSYSLOG 8
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -261,10 +261,16 @@ If additional command line arguments are given,
|
|||||||
will only examine log files that match those arguments; otherwise, it
|
will only examine log files that match those arguments; otherwise, it
|
||||||
will examine all files listed in the configuration file.
|
will examine all files listed in the configuration file.
|
||||||
.Sh FILES
|
.Sh FILES
|
||||||
.Bl -tag -width /etc/newsyslog.confxxxx -compact
|
.Bl -tag -width /usr/local/etc/newsyslog.conf.d -compact
|
||||||
.It Pa /etc/newsyslog.conf
|
.It Pa /etc/newsyslog.conf
|
||||||
.Nm
|
.Nm
|
||||||
configuration file
|
configuration file
|
||||||
|
.It Pa /etc/newsyslog.conf.d
|
||||||
|
Each file in this directory will be included by the default
|
||||||
|
.Pa newsyslog.conf .
|
||||||
|
.It Pa /usr/local/etc/newsyslog.conf.d
|
||||||
|
Each file in this directory will be included by the default
|
||||||
|
.Pa newsyslog.conf .
|
||||||
.El
|
.El
|
||||||
.Sh COMPATIBILITY
|
.Sh COMPATIBILITY
|
||||||
Previous versions of the
|
Previous versions of the
|
||||||
|
Loading…
Reference in New Issue
Block a user