[logback-dev] svn commit: r1151 - logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic
noreply.seb at qos.ch
noreply.seb at qos.ch
Wed Jan 3 15:46:39 CET 2007
Author: seb
Date: Wed Jan 3 15:46:39 2007
New Revision: 1151
Modified:
logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/BasicConfigurator.java
Log:
Fixed bug that would prevent correct conversion of patterns with automatic configuration
Modified: logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/BasicConfigurator.java
==============================================================================
--- logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/BasicConfigurator.java (original)
+++ logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/BasicConfigurator.java Wed Jan 3 15:46:39 2007
@@ -32,6 +32,7 @@
ca.setContext(lc);
ca.setName("console");
PatternLayout pl = new PatternLayout();
+ pl.setContext(lc);
pl.setPattern("%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n");
pl.start();
More information about the logback-dev
mailing list