summaryrefslogtreecommitdiffstats
path: root/usr.sbin/syslogd/syslog.conf.5
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1998-06-10 04:34:56 +0000
committerjulian <julian@FreeBSD.org>1998-06-10 04:34:56 +0000
commit538c54fd9e27ac35ca3365167e7978a19cce6a14 (patch)
treee05188214d574c48c1c094849bcf92e73bc2b805 /usr.sbin/syslogd/syslog.conf.5
parentaa1c40519a99461008e57eb85b0d52a508042021 (diff)
downloadFreeBSD-src-538c54fd9e27ac35ca3365167e7978a19cce6a14.zip
FreeBSD-src-538c54fd9e27ac35ca3365167e7978a19cce6a14.tar.gz
Allow syslogd to separate out kernel log messages with a known
category. e.g. separate out ipfw entries to a separate file. Reviewed by: (briefly) phk Submitted by: archie@whistle.com Obtained from: Whistle source tree
Diffstat (limited to 'usr.sbin/syslogd/syslog.conf.5')
-rw-r--r--usr.sbin/syslogd/syslog.conf.59
1 files changed, 7 insertions, 2 deletions
diff --git a/usr.sbin/syslogd/syslog.conf.5 b/usr.sbin/syslogd/syslog.conf.5
index f8e214d..f650e06 100644
--- a/usr.sbin/syslogd/syslog.conf.5
+++ b/usr.sbin/syslogd/syslog.conf.5
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)syslog.conf.5 8.1 (Berkeley) 6/9/93
-.\" $Id: syslog.conf.5,v 1.8 1997/10/06 20:37:50 joerg Exp $
+.\" $Id: syslog.conf.5,v 1.9 1997/10/20 12:55:47 charnier Exp $
.\"
.Dd June 9, 1993
.Dt SYSLOG.CONF 5
@@ -114,7 +114,8 @@ or
(the former is for compatibility with the previous syslogd, if one is sharing
syslog.conf files, for example)
and each block will be associated with calls to syslog from that specific
-program.
+program. A tag for ``foo'' will also match any message logged by the kernel
+with the prefix ``foo: ''.
.Pp
See
.Xr syslog 3
@@ -294,6 +295,10 @@ auth.* |exec /usr/local/sbin/authfilter
# Save ftpd transactions along with mail and news
!ftpd
*.* /var/log/spoolerr
+
+# Log kernel firewall reports to a separate file
+!ipfw
+*.* /var/log/ipfw
.Ed
.Sh FILES
.Bl -tag -width /etc/syslog.conf -compact
OpenPOWER on IntegriCloud