diff --git a/usr.sbin/syslogd/syslog.conf.5 b/usr.sbin/syslogd/syslog.conf.5 index 26595c3e9f0a..48f5c88048cb 100644 --- a/usr.sbin/syslogd/syslog.conf.5 +++ b/usr.sbin/syslogd/syslog.conf.5 @@ -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 diff --git a/usr.sbin/syslogd/syslogd.c b/usr.sbin/syslogd/syslogd.c index 50e68eede79c..acf9e193efd9 100644 --- a/usr.sbin/syslogd/syslogd.c +++ b/usr.sbin/syslogd/syslogd.c @@ -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}\\..*"' */