summaryrefslogtreecommitdiffstats
path: root/conf/log4perl-syslog.conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf/log4perl-syslog.conf')
-rw-r--r--conf/log4perl-syslog.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/conf/log4perl-syslog.conf b/conf/log4perl-syslog.conf
new file mode 100644
index 000000000..32f3d4c11
--- /dev/null
+++ b/conf/log4perl-syslog.conf
@@ -0,0 +1,9 @@
+log4perl.rootLogger = INFO, syslog
+log4perl.appender.syslog = Log::Dispatch::Syslog
+log4perl.appender.syslog.min_level = notice
+log4perl.appender.syslog.ident = apache
+log4perl.appender.syslog.facility = local4
+log4perl.appender.syslog.logopt = cons,pid
+log4perl.appender.syslog.layout = Log::Log4perl::Layout::PatternLayout
+log4perl.appender.syslog.layout.ConversionPattern = [%c] %m{chomp}%n
+