Author: carnold
Date: Tue Jan 13 12:21:47 2009
New Revision: 734230

URL: http://svn.apache.org/viewvc?rev=734230&view=rev
Log:
Bug 46512: LogFactor5 CategoryPath doesn't replace slashes with dots

Modified:
    logging/log4j/trunk/src/changes/changes.xml
    
logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryPath.java

Modified: logging/log4j/trunk/src/changes/changes.xml
URL: 
http://svn.apache.org/viewvc/logging/log4j/trunk/src/changes/changes.xml?rev=734230&r1=734229&r2=734230&view=diff
==============================================================================
--- logging/log4j/trunk/src/changes/changes.xml (original)
+++ logging/log4j/trunk/src/changes/changes.xml Tue Jan 13 12:21:47 2009
@@ -46,7 +46,7 @@
        <action action="fix" issue="45299">Javadoc class index corrupted by 
JDBCAppender deprecation warning.</action> 
        <action action="fix" issue="43867">Improve warning message when log4j 
is accessed after unload by Tomcat.</action>
        <action action="fix" issue="45335">NullPointerException in NDC.remove 
after unload by Tomcat.</action>
-       <action action="fix" issue="36384">Configuring triggering/rolling 
policys should be supported through properties.</action>
+       <action action="fix" issue="36384">Configuring triggering/rolling 
policies should be supported through properties.</action>
        <action action="fix" issue="25747">More explanations when hitting WARN 
No appenders could be found for logger.</action>
        <action action="fix" issue="45039">Use Throwable.getStackTrace to 
obtain location when running on JDK 1.4 or later.</action>
        <action action="fix" issue="44745">AsyncAppender fails on changing 
Throwable.</action>
@@ -71,6 +71,7 @@
        <action action="fix" issue="46388">Clarify javadoc of 
Layout.ignoresThrowable.</action>
        <action action="fix" issue="46271">SyslogAppender.append throws 
exception if layout is not set.</action>
        <action action="fix" issue="46144">QuietWriter.write should check for 
null argument.</action>
+       <action action="fix" issue="46512">LogFactor5 CategoryPath doesn't 
replace slashes with dots.</action>
     </release>
 
   

Modified: 
logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryPath.java
URL: 
http://svn.apache.org/viewvc/logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryPath.java?rev=734230&r1=734229&r2=734230&view=diff
==============================================================================
--- 
logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryPath.java
 (original)
+++ 
logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryPath.java
 Tue Jan 13 12:21:47 2009
@@ -61,7 +61,7 @@
       processedCategory = "Debug";
     }
 
-    processedCategory.replace('/', '.');
+    processedCategory = processedCategory.replace('/', '.');
     processedCategory = processedCategory.replace('\\', '.');
 
     StringTokenizer st = new StringTokenizer(processedCategory, ".");



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to