[syslog-ng] Question on semantics
Richi Plana
richip@mozcom.com
Sun, 11 Apr 1999 09:40:46 +0800 (JST)
On Sun, 11 Apr 1999, Richi Plana wrote:
|o| or better yet,
|o|
|o| filter f_messages {
|o| level(info,notice,warn..crit) and
|o| not facility(auth,authpriv,cron,daemon,mail,news);
|o| };
I should add that since any given message may only be under one leve and
one facility, the comma above taken in a positive sense means a logical OR
while taken in the negative sense (using NOT) means a logical AND. So
"level(info,notice,...)" means "level(info) OR level(notice) OR ..." while
"NOT level(info, notice, ...)" means "NOT level(info) AND NOT
level(notice) AND ...".
Merely a suggestion.
L L Richi Plana 8^) ,-,-. ,-,-. ,-,-. ,-,-. ,-
LL LL Systems Administrator / / \ \ / / \ \ / / \ \ / / \ \ / /
LLLLL Mosaic Communications, Inc. \ \ / / \ \ / / \ \ / / \ \ / /
LLLLL mailto:richip@mozcom.com `-'-' `-'-' `-'-' `-'-'
------PGP key http://www2.mozcom.com/~richip/richip.asc ----------------