summaryrefslogtreecommitdiffstats
path: root/usr.sbin/syslogd
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2019-01-13 11:07:47 +0000
committerschwarze <schwarze@openbsd.org>2019-01-13 11:07:47 +0000
commitfd2fcf1a4ee4b3f9851d0978ddfff574b0a52fce (patch)
treeee5d8bc14e078076684181f6620107f8a9f2dc1d /usr.sbin/syslogd
parentWhen parsing log lines in order to select syslog.conf(5) line blocks, support (diff)
downloadwireguard-openbsd-fd2fcf1a4ee4b3f9851d0978ddfff574b0a52fce.tar.xz
wireguard-openbsd-fd2fcf1a4ee4b3f9851d0978ddfff574b0a52fce.zip
document how program names are extracted from log lines
in order to select syslog.conf(5) line blocks
Diffstat (limited to 'usr.sbin/syslogd')
-rw-r--r--usr.sbin/syslogd/syslog.conf.513
1 files changed, 11 insertions, 2 deletions
diff --git a/usr.sbin/syslogd/syslog.conf.5 b/usr.sbin/syslogd/syslog.conf.5
index 6f05330b733..8ae2919c3d2 100644
--- a/usr.sbin/syslogd/syslog.conf.5
+++ b/usr.sbin/syslogd/syslog.conf.5
@@ -26,10 +26,10 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)syslog.conf.5 8.1 (Berkeley) 6/9/93
-.\" $OpenBSD: syslog.conf.5,v 1.38 2018/07/23 19:02:49 kn Exp $
+.\" $OpenBSD: syslog.conf.5,v 1.39 2019/01/13 11:07:47 schwarze Exp $
.\" $NetBSD: syslog.conf.5,v 1.4 1996/01/02 17:41:46 perry Exp $
.\"
-.Dd $Mdocdate: July 23 2018 $
+.Dd $Mdocdate: January 13 2019 $
.Dt SYSLOG.CONF 5
.Os
.Sh NAME
@@ -158,6 +158,15 @@ and the first word in the message after the date matches the
the action specified in the
.Em action
field will be taken.
+In this context,
+.Xr ascii 7
+letters, digits, hyphens
+.Pq Sq - ,
+periods
+.Pq Sq \&. ,
+and underscores
+.Pq Sq _
+can be contained in a word; other bytes end the word.
.Pp
Multiple
.Em selectors