diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-11-06 09:26:43 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-11-06 09:26:43 +0000 |
commit | dbfbb9b88abcc2522e8e46b6db218dca09771bb2 (patch) | |
tree | f72dbc18461422ea5e05027e9faa0133b6793faf /main/syslog-ng/syslog-ng-filter.std | |
parent | ec0afeea4567c35a0eda0f664b4649b1ab006645 (diff) | |
download | aports-dbfbb9b88abcc2522e8e46b6db218dca09771bb2.tar.bz2 aports-dbfbb9b88abcc2522e8e46b6db218dca09771bb2.tar.xz |
main/syslog-ng: move from testing
Diffstat (limited to 'main/syslog-ng/syslog-ng-filter.std')
-rw-r--r-- | main/syslog-ng/syslog-ng-filter.std | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/main/syslog-ng/syslog-ng-filter.std b/main/syslog-ng/syslog-ng-filter.std new file mode 100644 index 0000000000..29251f7598 --- /dev/null +++ b/main/syslog-ng/syslog-ng-filter.std @@ -0,0 +1,34 @@ +# --------------------------------------------------------------------------------- +# 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); }; +# mysql syslog write all messages to err level + filter f_err_no_mysqld { level(err..emerg) and not program(mysqld); }; |