logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgo...@apache.org
Subject svn commit: r1416125 - /logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/ConsoleAppender.java
Date Sun, 02 Dec 2012 07:23:51 GMT
Author: rgoers
Date: Sun Dec  2 07:23:51 2012
New Revision: 1416125

URL: http://svn.apache.org/viewvc?rev=1416125&view=rev
Log:
LOG4J2-128 Include follow value in Console Manager name

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

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/ConsoleAppender.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/ConsoleAppender.java?rev=1416125&r1=1416124&r2=1416125&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/ConsoleAppender.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/ConsoleAppender.java
Sun Dec  2 07:23:51 2012
@@ -93,7 +93,7 @@ public final class ConsoleAppender exten
     private static OutputStreamManager getManager(boolean follow, Target target) {
         String type = target.name();
         OutputStream os = getOutputStream(follow, target);
-        return OutputStreamManager.getManager(target.name(), new FactoryData(os, type), factory);
+        return OutputStreamManager.getManager(target.name() + "." + follow, new FactoryData(os,
type), factory);
     }
 
     private static OutputStream getOutputStream(boolean follow, Target target) {



Mime
View raw message