aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/syslogd/syslog.conf.5
diff options
context:
space:
mode:
authorDavid Malone <dwmalone@FreeBSD.org>2002-09-04 21:11:25 +0000
committerDavid Malone <dwmalone@FreeBSD.org>2002-09-04 21:11:25 +0000
commitef21d92fcff0f53e9c61a15699333f6d3bdbcf8f (patch)
treefc971c3ee029d907f0ef1ee3bd7d9fe99ca6b515 /usr.sbin/syslogd/syslog.conf.5
parent7718f45c22a0c9ca04fa4f4a9e94509a4b4e7324 (diff)
downloadsrc-ef21d92fcff0f53e9c61a15699333f6d3bdbcf8f.tar.gz
src-ef21d92fcff0f53e9c61a15699333f6d3bdbcf8f.zip
Make syslogd -u treat "*" as all levels by explictly setting pri_cmp
for it. While I'm here, add a the ability to say "!level" in a way which should be compatible with Linux's syslogd. PR: 28935 No objections: audit MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=102940
Diffstat (limited to 'usr.sbin/syslogd/syslog.conf.5')
-rw-r--r--usr.sbin/syslogd/syslog.conf.511
1 files changed, 10 insertions, 1 deletions
diff --git a/usr.sbin/syslogd/syslog.conf.5 b/usr.sbin/syslogd/syslog.conf.5
index acf6ebce3468..18579a3054cd 100644
--- a/usr.sbin/syslogd/syslog.conf.5
+++ b/usr.sbin/syslogd/syslog.conf.5
@@ -85,7 +85,7 @@ are encoded as a
a period
.Pq Dq \&. ,
an optional set of comparison flags
-.Pq Bq <=> ,
+.Pq Bo ! Bc Bq <=> ,
and a
.Em level ,
with no intervening white-space.
@@ -123,6 +123,15 @@ list of a priority
level equal or greater than
.Em level
will be logged.
+Comparison flags beginning with
+.Do ! Dc
+will have their logical sense inverted.
+Thus
+.Dq !=info
+means all levels except info and
+.Dq !notice
+has the same meaning as
+.Dq <notice .
.Pp
The
.Em level