Date: Thu, 10 Dec 2020 23:23:42 +0000 (UTC) From: John-Mark Gurney <jmg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r368529 - head/usr.sbin/syslogd Message-ID: <202012102323.0BANNgN3040338@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jmg Date: Thu Dec 10 23:23:42 2020 New Revision: 368529 URL: https://svnweb.freebsd.org/changeset/base/368529 Log: fix up documentation/comments: processname is not defined, but programname is.. a couple other minor documentation fixes that igor caught... MFC after: 1 week Modified: head/usr.sbin/syslogd/syslog.conf.5 head/usr.sbin/syslogd/syslogd.c Modified: head/usr.sbin/syslogd/syslog.conf.5 ============================================================================== --- head/usr.sbin/syslogd/syslog.conf.5 Thu Dec 10 22:26:51 2020 (r368528) +++ head/usr.sbin/syslogd/syslog.conf.5 Thu Dec 10 23:23:42 2020 (r368529) @@ -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 Modified: head/usr.sbin/syslogd/syslogd.c ============================================================================== --- head/usr.sbin/syslogd/syslogd.c Thu Dec 10 22:26:51 2020 (r368528) +++ head/usr.sbin/syslogd/syslogd.c Thu Dec 10 23:23:42 2020 (r368529) @@ -2761,7 +2761,7 @@ prop_filter_compile(struct prop_filter *pfilter, char /* * 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}\\..*"' */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012102323.0BANNgN3040338>