From dbfbb9b88abcc2522e8e46b6db218dca09771bb2 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 6 Nov 2014 09:26:43 +0000 Subject: main/syslog-ng: move from testing --- main/syslog-ng/syslog-ng-log.std | 56 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 main/syslog-ng/syslog-ng-log.std (limited to 'main/syslog-ng/syslog-ng-log.std') diff --git a/main/syslog-ng/syslog-ng-log.std b/main/syslog-ng/syslog-ng-log.std new file mode 100644 index 0000000000..a8cc402b1a --- /dev/null +++ b/main/syslog-ng/syslog-ng-log.std @@ -0,0 +1,56 @@ +# --------------------------------------------------------------------------------- +# Default syslog-ng logs; Do not edit this file! +# append log with line on a file: syslog-ng-log. +# --------------------------------------------------------------------------------- +# order matters if you use "flags(final);" to mark the end of processing in a +# "log" statement +# these rules provide the same behavior as the commented original syslogd rules + +# auth,authpriv.* /var/log/auth.log +log { + source(s_all); + filter(f_auth); + destination(df_auth); +}; + +# kern.* -/var/log/kern.log +log { + source(s_all); + filter(f_kern); + destination(df_kern); +}; + +# mail.* -/var/log/mail.log +log { + source(s_all); + filter(f_mail); + destination(df_mail); +}; +# *.=debug; +# auth,authpriv.none;\ +# news.none;mail.none -/var/log/debug +log { + source(s_all); + filter(f_debug); + destination(df_debug); +}; +# *.=info;*.=notice;*.=warn;\ +# auth,authpriv.none;\ +# mail,news.none -/var/log/messages +log { + source(s_all); + filter(f_messages); + destination(df_messages); +}; +# error ... emergency /var/log/error.log +log { + source(s_all); + filter(f_err_no_mysqld); + destination(df_error); +}; +# *.emerg * +log { + source(s_all); + filter(f_emerg); + destination(du_all); +}; -- cgit v1.2.3