$OpenBSD: patch-prelude-lml_conf_in,v 1.4 2006/12/30 16:32:47 aanriot Exp $
--- prelude-lml.conf.in.orig	Fri Dec 15 10:48:35 2006
+++ prelude-lml.conf.in	Mon Dec 25 20:17:04 2006
@@ -43,21 +43,43 @@ include = @LIBPRELUDE_CONFIG_PREFIX@/def
 # The same file entry / udp-server entry might be duplicated accross
 # differents formats.
 
+[format=syslog]
+time-format = "%b %d %H:%M:%S"
+prefix-regex = "^(?P<timestamp>.{15}) (?P<hostname>\S+) (?:(?P<process>\S+?)(?:\[(?P<pid>[0-9]+)\])?: )?"
+file = /var/log/authlog
+# udp-server = 0.0.0.0
 
 [format=syslog]
 time-format = "%b %d %H:%M:%S" 
 prefix-regex = "^(?P<timestamp>.{15}) (?P<hostname>\S+) (?:(?P<process>\S+?)(?:\[(?P<pid>[0-9]+)\])?: )?"
+file = /var/log/daemon
+# udp-server = 0.0.0.0
+
+[format=syslog]
+time-format = "%b %d %H:%M:%S"
+prefix-regex = "^(?P<timestamp>.{15}) (?P<hostname>\S+) (?:(?P<process>\S+?)(?:\[(?P<pid>[0-9]+)\])?: )?"
+file = /var/log/maillog
+# udp-server = 0.0.0.0
+
+[format=syslog]
+time-format = "%b %d %H:%M:%S"
+prefix-regex = "^(?P<timestamp>.{15}) (?P<hostname>\S+) (?:(?P<process>\S+?)(?:\[(?P<pid>[0-9]+)\])?: )?"
 file = /var/log/messages
 # udp-server = 0.0.0.0
 
+[format=syslog]
+time-format = "%b %d %H:%M:%S"
+prefix-regex = "^(?P<timestamp>.{15}) (?P<hostname>\S+) (?:(?P<process>\S+?)(?:\[(?P<pid>[0-9]+)\])?: )?"
+file = /var/log/secure
+# udp-server = 0.0.0.0
 
 #
 # Example configuration for metalog output:
 #
-[format=metalog]
-prefix-regex = "^(?P<timestamp>.{15}) \[(?P<process>\S+)\] "
-time-format = "%b %d %H:%M:%S" 
-file = /var/log/everything/current
+# [format=metalog]
+# prefix-regex = "^(?P<timestamp>.{15}) \[(?P<process>\S+)\] "
+# time-format = "%b %d %H:%M:%S" 
+# file = /var/log/everything/current
 # udp-server = 0.0.0.0
 
 
@@ -67,7 +89,12 @@ file = /var/log/everything/current
 [format=apache]
 time-format = "%d/%b/%Y:%H:%M:%S"
 prefix-regex = "^(?P<hostname>\S+) - - \[(?P<timestamp>.{20}) \[+-].{4}\] "
-file = /var/log/apache2/access_log
+file = /var/www/logs/access_log
+ 
+[format=apache-error]
+time-format = "%a %b %d %H:%M:%S %Y"
+prefix-regex = "^\[(?P<timestamp>.{24})\]"
+file = /var/www/logs/error_log
 
 
 #
