logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgo...@apache.org
Subject svn commit: r1486421 - /logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/OutputStreamManager.java
Date Sun, 26 May 2013 15:53:51 GMT
Author: rgoers
Date: Sun May 26 15:53:51 2013
New Revision: 1486421

URL: http://svn.apache.org/r1486421
Log:
LOG4J2-254 - set new outputstream even when header is null

Modified:
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/OutputStreamManager.java

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/OutputStreamManager.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/OutputStreamManager.java?rev=1486421&r1=1486420&r2=1486421&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/OutputStreamManager.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/OutputStreamManager.java
Sun May 26 15:53:51 2013
@@ -96,6 +96,8 @@ public class OutputStreamManager extends
             } catch (final IOException ioe) {
                 LOGGER.error("Unable to write header", ioe);
             }
+        } else {
+            this.os = os;
         }
     }
 



Mime
View raw message