summaryrefslogtreecommitdiffstats
path: root/testing/syslog-ng/syslog-ng-log.std
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <bpiotrowski@alpinelinux.org>2013-05-25 09:25:32 +0200
committerBartłomiej Piotrowski <bpiotrowski@alpinelinux.org>2013-05-25 09:28:03 +0200
commit26d86737c4f6bfb4b2e350b36fe85bd6cf04cd4b (patch)
tree3ad80fb804d9a4db151d9a5a1d284d79e683ff10 /testing/syslog-ng/syslog-ng-log.std
parentf64bfe77a6bde014a88ea2840b3a54e2281ccbbb (diff)
downloadaports-26d86737c4f6bfb4b2e350b36fe85bd6cf04cd4b.tar.bz2
aports-26d86737c4f6bfb4b2e350b36fe85bd6cf04cd4b.tar.xz
testing/syslog-ng: new aport
Diffstat (limited to 'testing/syslog-ng/syslog-ng-log.std')
-rw-r--r--testing/syslog-ng/syslog-ng-log.std56
1 files changed, 56 insertions, 0 deletions
diff --git a/testing/syslog-ng/syslog-ng-log.std b/testing/syslog-ng/syslog-ng-log.std
new file mode 100644
index 000000000..6488fe7e3
--- /dev/null
+++ b/testing/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.<package>
+# ---------------------------------------------------------------------------------
+# 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_at_least_err);
+ destination(df_error);
+};
+# *.emerg *
+log {
+ source(s_all);
+ filter(f_emerg);
+ destination(du_all);
+};