You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by ca...@apache.org on 2006/08/02 01:13:25 UTC

svn commit: r427789 - /logging/log4j/trunk/src/java/org/apache/log4j/config/PropertyPrinter.java

Author: carnold
Date: Tue Aug  1 16:13:25 2006
New Revision: 427789

URL: http://svn.apache.org/viewvc?rev=427789&view=rev
Log:
Bug 35123: Additivity not exported by PropertyPrinter

Modified:
    logging/log4j/trunk/src/java/org/apache/log4j/config/PropertyPrinter.java

Modified: logging/log4j/trunk/src/java/org/apache/log4j/config/PropertyPrinter.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/java/org/apache/log4j/config/PropertyPrinter.java?rev=427789&r1=427788&r2=427789&view=diff
==============================================================================
--- logging/log4j/trunk/src/java/org/apache/log4j/config/PropertyPrinter.java (original)
+++ logging/log4j/trunk/src/java/org/apache/log4j/config/PropertyPrinter.java Tue Aug  1 16:13:25 2006
@@ -119,6 +119,9 @@
     if (appenderString != "") {
       out.println(catKey + "=" + appenderString);
     }
+    if (!cat.getAdditivity() && cat != Logger.getRootLogger()) {
+    	out.println("log4j.additivity." + cat.getName() + "=false");    
+    }    
   }
   
   protected



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