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 2007/02/27 00:51:44 UTC
svn commit: r512082 - in /logging/log4j/branches/v1_2-branch:
docs/HISTORY.txt src/java/org/apache/log4j/config/PropertyPrinter.java
src/xdocs/download.xml
Author: carnold
Date: Mon Feb 26 15:51:43 2007
New Revision: 512082
URL: http://svn.apache.org/viewvc?view=rev&rev=512082
Log:
Bug 41708: PropertyPrinter.printOptions breaking signature change in log4j 1.2.9
Modified:
logging/log4j/branches/v1_2-branch/docs/HISTORY.txt
logging/log4j/branches/v1_2-branch/src/java/org/apache/log4j/config/PropertyPrinter.java
logging/log4j/branches/v1_2-branch/src/xdocs/download.xml
Modified: logging/log4j/branches/v1_2-branch/docs/HISTORY.txt
URL: http://svn.apache.org/viewvc/logging/log4j/branches/v1_2-branch/docs/HISTORY.txt?view=diff&rev=512082&r1=512081&r2=512082
==============================================================================
--- logging/log4j/branches/v1_2-branch/docs/HISTORY.txt (original)
+++ logging/log4j/branches/v1_2-branch/docs/HISTORY.txt Mon Feb 26 15:51:43 2007
@@ -29,6 +29,7 @@
41487: Warning when configuring inner-class logger
41186: AsyncAppender in 1.2.14 DiscardSummary events create NullPointerExceptions in layouts
37864: Add target to generate binary and source compatibility report
+ 41708: PropertyPrinter.printOptions breaking signature change in log4j 1.2.9
September 18th, 2006
Modified: logging/log4j/branches/v1_2-branch/src/java/org/apache/log4j/config/PropertyPrinter.java
URL: http://svn.apache.org/viewvc/logging/log4j/branches/v1_2-branch/src/java/org/apache/log4j/config/PropertyPrinter.java?view=diff&rev=512082&r1=512081&r2=512082
==============================================================================
--- logging/log4j/branches/v1_2-branch/src/java/org/apache/log4j/config/PropertyPrinter.java (original)
+++ logging/log4j/branches/v1_2-branch/src/java/org/apache/log4j/config/PropertyPrinter.java Mon Feb 26 15:51:43 2007
@@ -17,9 +17,15 @@
package org.apache.log4j.config;
-import java.io.*;
-import java.util.*;
-import org.apache.log4j.*;
+import org.apache.log4j.Appender;
+import org.apache.log4j.Category;
+import org.apache.log4j.Level;
+import org.apache.log4j.LogManager;
+import org.apache.log4j.Logger;
+
+import java.io.PrintWriter;
+import java.util.Enumeration;
+import java.util.Hashtable;
/**
Prints the configuration of the log4j default hierarchy
@@ -85,7 +91,7 @@
}
protected
- void printOptions(PrintWriter out, Logger cat) {
+ void printOptions(PrintWriter out, Category cat) {
Enumeration appenders = cat.getAllAppenders();
Level prio = cat.getLevel();
String appenderString = (prio == null ? "" : prio.toString());
@@ -118,6 +124,10 @@
if (!cat.getAdditivity() && cat != Logger.getRootLogger()) {
out.println("log4j.additivity." + cat.getName() + "=false");
}
+ }
+
+ protected void printOptions(PrintWriter out, Logger cat) {
+ printOptions(out, (Category) cat);
}
protected
Modified: logging/log4j/branches/v1_2-branch/src/xdocs/download.xml
URL: http://svn.apache.org/viewvc/logging/log4j/branches/v1_2-branch/src/xdocs/download.xml?view=diff&rev=512082&r1=512081&r2=512082
==============================================================================
--- logging/log4j/branches/v1_2-branch/src/xdocs/download.xml (original)
+++ logging/log4j/branches/v1_2-branch/src/xdocs/download.xml Mon Feb 26 15:51:43 2007
@@ -54,6 +54,7 @@
<li><a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41487">41487</a>: Warning when configuring inner-class logger</li>
<li><a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41186">41186</a>: AsyncAppender in 1.2.14 DiscardSummary events create NullPointerExceptions in layouts</li>
<li><a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=37864">37864</a>: Add target to generate binary and source compatibility report</li>
+ <li><a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41708">41708</a>: PropertyPrinter.printOptions breaking signature change in log4j 1.2.9</li>
</ul>
</li>
</ul>
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org