aboutsummaryrefslogtreecommitdiffstats
path: root/main/syslog-ng/syslog-ng-filter.std
blob: 29251f75986cea3f0daa74b65efd0ff6f1ca868d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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); };