logwatch_config.py.dist
changeset 12 cf388baabf0a
child 18 6348bf9750bc
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/logwatch_config.py.dist	Tue Mar 25 19:10:59 2008 +0200
@@ -0,0 +1,13 @@
+from logwatch_filters import *
+
+# log_files is a sequence of three-tuples
+log_files = (
+    # (name, filename, filter-seq))
+    # name is used for display purposes, filename is the file to follow, and filter-seq is a list of filters to apply to each line of output
+    # filters should inherit from logwatch_filters.Filter
+    ("auth.log", "/var/log/auth.log", (
+        SudoFilter(),
+#       SSHFilter(),
+    )),
+)
+