diff options
author | Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> | 2013-05-25 09:25:32 +0200 |
---|---|---|
committer | Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> | 2013-05-25 09:28:03 +0200 |
commit | 26d86737c4f6bfb4b2e350b36fe85bd6cf04cd4b (patch) | |
tree | 3ad80fb804d9a4db151d9a5a1d284d79e683ff10 /testing/syslog-ng/syslog-ng-filter.std | |
parent | f64bfe77a6bde014a88ea2840b3a54e2281ccbbb (diff) | |
download | aports-26d86737c4f6bfb4b2e350b36fe85bd6cf04cd4b.tar.bz2 aports-26d86737c4f6bfb4b2e350b36fe85bd6cf04cd4b.tar.xz |
testing/syslog-ng: new aport
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); }; |