cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sylv...@apache.org
Subject svn commit: r327205 - /cocoon/trunk/src/java/org/apache/cocoon/i18n/XMLResourceBundle.java
Date Fri, 21 Oct 2005 15:00:36 GMT
Author: sylvain
Date: Fri Oct 21 08:00:32 2005
New Revision: 327205

URL: http://svn.apache.org/viewcvs?rev=327205&view=rev
Log:
Don't log exceptions when a bundle is not found

Modified:
    cocoon/trunk/src/java/org/apache/cocoon/i18n/XMLResourceBundle.java

Modified: cocoon/trunk/src/java/org/apache/cocoon/i18n/XMLResourceBundle.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/java/org/apache/cocoon/i18n/XMLResourceBundle.java?rev=327205&r1=327204&r2=327205&view=diff
==============================================================================
--- cocoon/trunk/src/java/org/apache/cocoon/i18n/XMLResourceBundle.java (original)
+++ cocoon/trunk/src/java/org/apache/cocoon/i18n/XMLResourceBundle.java Fri Oct 21 08:00:32
2005
@@ -299,10 +299,9 @@
             newValues = Collections.EMPTY_MAP;
 
         } catch (SourceNotFoundException e) {
+            // Nominal case where a bundle doesn't exist
             if (getLogger().isDebugEnabled()) {
-                getLogger().info("Bundle <" + sourceURI + "> not loaded: Source URI
not found", e);
-            } else if (getLogger().isInfoEnabled()) {
-                getLogger().info("Bundle <" + sourceURI + "> not loaded: Source URI
not found");
+                getLogger().debug("Bundle <" + sourceURI + "> not loaded: Source URI
not found");
             }
             newValues = Collections.EMPTY_MAP;
 



Mime
View raw message