[Catalyst-commits] r12667 -
branches/Catalyst-Log-Log4perl/cleaner_implementation/lib/Catalyst/Log
Ned at dev.catalyst.perl.org
Ned at dev.catalyst.perl.org
Sat Jan 16 03:08:49 GMT 2010
Author: Ned
Date: 2010-01-16 03:08:49 +0000 (Sat, 16 Jan 2010)
New Revision: 12667
Modified:
branches/Catalyst-Log-Log4perl/cleaner_implementation/lib/Catalyst/Log/Log4perl.pm
Log:
Set default log format back to something not too scary for new people :-)
Modified: branches/Catalyst-Log-Log4perl/cleaner_implementation/lib/Catalyst/Log/Log4perl.pm
===================================================================
--- branches/Catalyst-Log-Log4perl/cleaner_implementation/lib/Catalyst/Log/Log4perl.pm 2010-01-16 02:58:46 UTC (rev 12666)
+++ branches/Catalyst-Log-Log4perl/cleaner_implementation/lib/Catalyst/Log/Log4perl.pm 2010-01-16 03:08:49 UTC (rev 12667)
@@ -128,11 +128,11 @@
}
else {
my $default_config = q(
- log4perl.rootLogger=DEBUG, LOG
+ log4perl.rootLogger=DEBUG, screenlog
- log4perl.appender.LOG=Log::Log4perl::Appender::ScreenColoredLevels
- log4perl.appender.LOG.layout=PatternLayout
- log4perl.appender.LOG.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} [%5P] %20c{2} [%5L]: %5p - %m%n
+ log4perl.appender.screenlog=Log::Log4perl::Appender::Screen
+ log4perl.appender.screenlog.layout=PatternLayout
+ log4perl.appender.screenlog.layout.ConversionPattern=[%d] [%p] %m%n
);
Log::Log4perl::init(\$default_config);
}
More information about the Catalyst-commits
mailing list