From fd2fcf1a4ee4b3f9851d0978ddfff574b0a52fce Mon Sep 17 00:00:00 2001 From: schwarze Date: Sun, 13 Jan 2019 11:07:47 +0000 Subject: document how program names are extracted from log lines in order to select syslog.conf(5) line blocks --- usr.sbin/syslogd/syslog.conf.5 | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'usr.sbin/syslogd') 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 -- cgit v1.2.3-59-g8ed1b