diff options
Diffstat (limited to 'testing/syslog-ng/syslog-ng-filter.std')
-rw-r--r-- | testing/syslog-ng/syslog-ng-filter.std | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/syslog-ng/syslog-ng-filter.std b/testing/syslog-ng/syslog-ng-filter.std new file mode 100644 index 000000000..f462e3f74 --- /dev/null +++ b/testing/syslog-ng/syslog-ng-filter.std @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------------- +# Default syslog-ng standard filters; Do not edit this file! +# append filter entry with line on a file: syslog-ng-filter.<package> +# --------------------------------------------------------------------------------- +# all messages from the auth and authpriv facilities + filter f_auth { facility(auth,authpriv); }; +# respectively: messages from the cron, daemon, kern, lpr, mail, news, user, +# and uucp facilities + filter f_cron { facility(cron); }; + filter f_daemon { facility(daemon); }; + filter f_kern { facility(kern); }; + filter f_lpr { facility(lpr); }; + filter f_mail { facility(mail); }; + filter f_news { facility(news); }; + filter f_user { facility(user); }; + filter f_uucp { facility(uucp); }; + filter f_ftp { facility(ftp); }; +# some filters to select messages of priority greater or equal to info, warn, +# and err (equivalents of syslogd's *.info, *.warn, and *.err) + filter f_at_least_info { level(info..emerg); }; + filter f_at_least_notice { level(notice..emerg); }; + filter f_at_least_warn { level(warn..emerg); }; + filter f_at_least_err { level(err..emerg); }; + filter f_at_least_crit { level(crit..emerg); }; +# all messages of priority debug not coming from the auth, authpriv, news, and +# mail facilities + filter f_debug { level(debug) and not facility(auth,authpriv,kern,mail); }; +# all messages of info, notice, or warn priority not coming form the auth, authpriv, +# kern and mail facilities + filter f_messages { level(info,notice,warn) and not facility(auth,authpriv,kern,mail,ftp); }; +# messages with priority emerg + filter f_emerg { level(emerg); }; |