summaryrefslogtreecommitdiff
path: root/usr.sbin/syslogd
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2019-01-13 11:07:48 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2019-01-13 11:07:48 +0000
commit26fb3a0e60f4b8964ceeb3fef90852ae0de59a51 (patch)
treee9bc23ff0ad14c2b5482f39ff3ff4d5df8c75ae2 /usr.sbin/syslogd
parente21173a11ef9e11f43d2add977ddba1477e35099 (diff)
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