commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nia...@apache.org
Subject svn commit: r279933 - /jakarta/commons/proper/validator/trunk/src/share/org/apache/commons/validator/GenericTypeValidator.java
Date Sat, 10 Sep 2005 02:02:41 GMT
Author: niallp
Date: Fri Sep  9 19:02:32 2005
New Revision: 279933

URL: http://svn.apache.org/viewcvs?rev=279933&view=rev
Log:
Change logging for invalid dates from "warn" to "debug"

Modified:
    jakarta/commons/proper/validator/trunk/src/share/org/apache/commons/validator/GenericTypeValidator.java

Modified: jakarta/commons/proper/validator/trunk/src/share/org/apache/commons/validator/GenericTypeValidator.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/validator/trunk/src/share/org/apache/commons/validator/GenericTypeValidator.java?rev=279933&r1=279932&r2=279933&view=diff
==============================================================================
--- jakarta/commons/proper/validator/trunk/src/share/org/apache/commons/validator/GenericTypeValidator.java
(original)
+++ jakarta/commons/proper/validator/trunk/src/share/org/apache/commons/validator/GenericTypeValidator.java
Fri Sep  9 19:02:32 2005
@@ -387,7 +387,7 @@
             date = formatter.parse(value);
         } catch (ParseException e) {
             // Bad date so return null
-            log.warn(value, e);
+            log.debug("formatDate('" + value + "', '" + locale + "') " + e);
         }
 
         return date;
@@ -429,7 +429,8 @@
             }
         } catch (ParseException e) {
             // Bad date so return null
-            log.warn(value, e);
+            log.debug("formatDate('" + value + "', '" + datePattern 
+                                + "', '" + strict+ "') " + e);
         }
 
         return date;



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


Mime
View raw message