summaryrefslogtreecommitdiffstats
path: root/conf/log4perl-test.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-test.conf
parent48f08ef18983729dbdcd1af9468fb4ea1ee25fbe (diff)
downloadbugzilla-fb85881651195cd97ef1499136e947dd56c3b4f3.tar.gz
bugzilla-fb85881651195cd97ef1499136e947dd56c3b4f3.tar.xz
Bug 1437646 - add support for Log::Log4perl
Diffstat (limited to 'conf/log4perl-test.conf')
-rw-r--r--conf/log4perl-test.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/conf/log4perl-test.conf b/conf/log4perl-test.conf
new file mode 100644
index 000000000..7f2309c80
--- /dev/null
+++ b/conf/log4perl-test.conf
@@ -0,0 +1,7 @@
+log4perl.rootLogger = DEBUG, DebugSocket
+log4perl.appender.DebugSocket = Log::Log4perl::Appender::Socket
+log4perl.appender.DebugSocket.PeerAddr=127.0.0.1
+log4perl.appender.DebugSocket.PeerPort=5880
+log4perl.appender.DebugSocket.defer_connection=1
+log4perl.appender.DebugSocket.layout = Log::Log4perl::Layout::PatternLayout
+log4perl.appender.DebugSocket.layout.ConversionPattern = [%d] [%c] <%p> %m{chomp} at %F line %L (%M)%n