summaryrefslogtreecommitdiffstats
path: root/conf/log4perl-syslog.conf
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-03-01 03:55:10 +0100
committerGitHub <noreply@github.com>2018-03-01 03:55:10 +0100
commitfb85881651195cd97ef1499136e947dd56c3b4f3 (patch)
tree983c8827473da442fe8b685709eaacf496ba9ee8 /conf/log4perl-syslog.conf
parent48f08ef18983729dbdcd1af9468fb4ea1ee25fbe (diff)
downloadbugzilla-fb85881651195cd97ef1499136e947dd56c3b4f3.tar.gz
bugzilla-fb85881651195cd97ef1499136e947dd56c3b4f3.tar.xz
Bug 1437646 - add support for Log::Log4perl
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
+