summaryrefslogtreecommitdiffstats
path: root/usr.sbin/syslogd/syslog.conf.5
diff options
context:
space:
mode:
authorcjc <cjc@FreeBSD.org>2001-08-28 19:10:51 +0000
committercjc <cjc@FreeBSD.org>2001-08-28 19:10:51 +0000
commiteda113cf152e791a3f365da5000c104a42de9cfb (patch)
tree90afe9e80f09bb196dcb03d25d7d01b4521e828b /usr.sbin/syslogd/syslog.conf.5
parentb1deb88543efff2a2f928e7d44e88e056d04bea8 (diff)
downloadFreeBSD-src-eda113cf152e791a3f365da5000c104a42de9cfb.zip
FreeBSD-src-eda113cf152e791a3f365da5000c104a42de9cfb.tar.gz
Fix some small errors and markup nits.
Approved by: ru MFC after: 2 days
Diffstat (limited to 'usr.sbin/syslogd/syslog.conf.5')
-rw-r--r--usr.sbin/syslogd/syslog.conf.517
1 files changed, 8 insertions, 9 deletions
diff --git a/usr.sbin/syslogd/syslog.conf.5 b/usr.sbin/syslogd/syslog.conf.5
index 2141c0a..0385c57 100644
--- a/usr.sbin/syslogd/syslog.conf.5
+++ b/usr.sbin/syslogd/syslog.conf.5
@@ -67,20 +67,19 @@ field is separated from the
field by one or more tab characters or spaces.
.Pp
Note that if you use spaces as separators, your
-.Pa syslog.conf
+.Nm
might be incompatible with other Unices or Unix-like systems.
This functionality was added for the ease of configuration
(e.g. it is possible to cut-and-paste into
-.Pa syslog.conf ) ,
+.Nm ) ,
and to avoid possible mistakes.
This change however preserves
backwards compatibility with the old style of the
-.Pa syslog.conf
+.Nm
(i.e. tab characters only).
.Pp
The
-.Em Selectors
-function
+.Em selectors
are encoded as a
.Em facility ,
a period
@@ -166,7 +165,7 @@ specification is a line beginning with
or
.Ql !prog
(the former is for compatibility with the previous syslogd, if one is sharing
-.Pa syslog.conf
+.Nm
files, for example)
and the following blocks will be associated with calls to
.Xr syslog 3
@@ -305,8 +304,8 @@ Selected messages are written to all logged-in users.
A vertical bar
.Pq Dq \&| ,
followed by a command to pipe the selected
-messages to. The command is passed to a
-.Pa /bin/sh
+messages to. The command is passed to
+.Xr sh 1
for evaluation, so usual shell metacharacters or input/output
redirection can occur. (Note however that redirecting
.Xr stdio 3
@@ -320,7 +319,7 @@ redirected to
.Pa /dev/null .
Upon receipt of a
.Dv SIGHUP ,
-.Nm
+.Xr syslogd 8
will close the pipe to the process. If the process didn't exit
voluntarily, it will be sent a
.Dv SIGTERM
OpenPOWER on IntegriCloud