fix up documentation/comments: processname is not defined, but programname

is..

a couple other minor documentation fixes that igor caught...

MFC after:	1 week
This commit is contained in:
John-Mark Gurney 2020-12-10 23:23:42 +00:00
parent 5a28499f2f
commit 37d8e9a326
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=368529
2 changed files with 6 additions and 6 deletions

View File

@ -28,7 +28,7 @@
.\" @(#)syslog.conf.5 8.1 (Berkeley) 6/9/93
.\" $FreeBSD$
.\"
.Dd March 26, 2020
.Dd December 10, 2020
.Dt SYSLOG.CONF 5
.Os
.Sh NAME
@ -73,7 +73,7 @@ Note that if you use spaces as separators, your
.Nm
might be incompatible with other Unices or Unix-like systems.
This functionality was added for ease of configuration
(e.g.\& it is possible to cut-and-paste into
(e.g.,\& it is possible to cut-and-paste into
.Nm ) ,
and to avoid possible mistakes.
This change however preserves
@ -547,11 +547,11 @@ A configuration file might appear as follows:
# Log all kernel messages, authentication messages of
# level notice or higher, and anything of level err or
# higher to the console.
# Don't log private authentication messages!
# Do not log private authentication messages!
*.err;kern.*;auth.notice;authpriv.none;mail.crit /dev/console
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
# Do not log private authentication messages!
*.info;mail.none;authpriv.none /var/log/messages
# Log daemon messages at debug level only
@ -600,7 +600,7 @@ console.* /var/log/console.log
!*
# Log messages from bird or bird6 into one file
:processname, regex, "^bird6?$"
:programname, regex, "^bird6?$"
*.* /var/log/bird-all.log
# Log messages from servers in racks 10-19 in multiple locations, case insensitive

View File

@ -2761,7 +2761,7 @@ prop_filter_compile(struct prop_filter *pfilter, char *filter)
/*
* Here's some filter examples mentioned in syslog.conf(5)
* 'msg, contains, ".*Deny.*"'
* 'processname, regex, "^bird6?$"'
* 'programname, regex, "^bird6?$"'
* 'hostname, icase_ereregex, "^server-(dcA|podB)-rack1[0-9]{2}\\..*"'
*/