# --------------------------------------------------------------------------------- # Default syslog-ng standard filters; Do not edit this file! # append filter entry with line on a file: syslog-ng-filter. # --------------------------------------------------------------------------------- # 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); };