summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-06-22 03:38:56 +0200
committerDylan William Hardison <dylan@hardison.net>2018-06-28 22:42:01 +0200
commit73076d597e18586a894afedb62fcd9589395d514 (patch)
treef204579f3e46e36355b51c6a4cc754a8eeeab85b
parent2bea6741733017f64a2009a21f1eb5d2d57d88da (diff)
downloadbugzilla-73076d597e18586a894afedb62fcd9589395d514.tar.gz
bugzilla-73076d597e18586a894afedb62fcd9589395d514.tar.xz
change log format to make stderr obvious
-rw-r--r--conf/log4perl-test.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/log4perl-test.conf b/conf/log4perl-test.conf
index e8acd58cf..1760279db 100644
--- a/conf/log4perl-test.conf
+++ b/conf/log4perl-test.conf
@@ -4,14 +4,14 @@ log4perl.appender.Cereal.PeerAddr=127.0.0.1
log4perl.appender.Cereal.PeerPort=5880
log4perl.appender.Cereal.defer_connection=1
log4perl.appender.Cereal.layout = Log::Log4perl::Layout::PatternLayout
-log4perl.appender.Cereal.layout.ConversionPattern = [%X{request_id}] %d %6p | %c | %m{chomp}%n
+log4perl.appender.Cereal.layout.ConversionPattern = %X{request_id} %d %6p | %c | %m{chomp}%n
log4perl.filter.LOG_TO_STDERR = sub { not $ENV{LOG4PERL_STDERR_DISABLE} }
log4perl.appender.Screen = Log::Log4perl::Appender::Screen
log4perl.appender.Screen.Filter = LOG_TO_STDERR
log4perl.appender.Screen.stderr = 1
log4perl.appender.Screen.layout = Log::Log4perl::Layout::PatternLayout
-log4perl.appender.Screen.layout.ConversionPattern = [%X{request_id}] %d %6p | %c | %m{chomp}%n
+log4perl.appender.Screen.layout.ConversionPattern = STDERR: %X{request_id} %d %6p | %c | %m{chomp}%n
log4perl.appender.File = Log::Log4perl::Appender::File
log4perl.appender.File.layout = Log::Log4perl::Layout::Mozilla