logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carn...@apache.org
Subject svn commit: r439043 - /logging/log4j/trunk/src/java/org/apache/log4j/helpers/OptionConverter.java
Date Thu, 31 Aug 2006 20:44:34 GMT
Author: carnold
Date: Thu Aug 31 13:44:34 2006
New Revision: 439043

URL: http://svn.apache.org/viewvc?rev=439043&view=rev
Log:
Bug 37119: Space after log level causes default level to be used

Modified:
    logging/log4j/trunk/src/java/org/apache/log4j/helpers/OptionConverter.java

Modified: logging/log4j/trunk/src/java/org/apache/log4j/helpers/OptionConverter.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/java/org/apache/log4j/helpers/OptionConverter.java?rev=439043&r1=439042&r2=439043&view=diff
==============================================================================
--- logging/log4j/trunk/src/java/org/apache/log4j/helpers/OptionConverter.java (original)
+++ logging/log4j/trunk/src/java/org/apache/log4j/helpers/OptionConverter.java Thu Aug 31
13:44:34 2006
@@ -207,7 +207,8 @@
     if (value == null) {
       return defaultValue;
     }
-
+    
+    value = value.trim();
     int hashIndex = value.indexOf('#');
 
     if (hashIndex == -1) {



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


Mime
View raw message