[logback-dev] svn commit: r1567 - logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/spi

noreply.ceki at qos.ch noreply.ceki at qos.ch
Tue Aug 21 19:53:37 CEST 2007


Author: ceki
Date: Tue Aug 21 19:53:37 2007
New Revision: 1567

Modified:
   logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/spi/LoggingEvent.java

Log:
we now set the argumentArray variable in the LoggingEvent class'
constructor. Problem reported by Robert Christian in bug #85.

Modified: logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/spi/LoggingEvent.java
==============================================================================
--- logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/spi/LoggingEvent.java	(original)
+++ logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/spi/LoggingEvent.java	Tue Aug 21 19:53:37 2007
@@ -111,6 +111,9 @@
       this.throwableInfo = new ThrowableInformation(throwable);
     }
 
+    // bug 85 (we previously failed to set this.argumentArray)
+    this.argumentArray = argArray;
+    
     if (argArray != null) {
       formattedMessage = MessageFormatter.arrayFormat(message, argArray);
     } else {



More information about the logback-dev mailing list