logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sde...@apache.org
Subject cvs commit: jakarta-log4j/src/java/org/apache/log4j/xml XMLLayout.java
Date Thu, 10 Jul 2003 15:19:20 GMT
sdeboy      2003/07/10 08:19:20

  Modified:    src/java/org/apache/log4j/xml XMLLayout.java
  Log:
  re-adding spaces for mdc entries in xml layout to conform to existing test output.
  
  Revision  Changes    Path
  1.24      +1 -1      jakarta-log4j/src/java/org/apache/log4j/xml/XMLLayout.java
  
  Index: XMLLayout.java
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/log4j/xml/XMLLayout.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- XMLLayout.java	9 Jul 2003 06:10:01 -0000	1.23
  +++ XMLLayout.java	10 Jul 2003 15:19:20 -0000	1.24
  @@ -179,7 +179,7 @@
   
         while (iter.hasNext()) {
           String propName = iter.next().toString();
  -        output.write("<log4j:data name=\"" + propName);
  +	output.write("    <log4j:data name=\"" + propName);
   
           String propValue = event.getMDC(propName).toString();
           output.write("\" value=\"" + propValue);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-dev-help@jakarta.apache.org


Mime
View raw message