commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r1746621 - /commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/FluentPropertyBeanIntrospector.java
Date Thu, 02 Jun 2016 20:01:26 GMT
Author: oheger
Date: Thu Jun  2 20:01:25 2016
New Revision: 1746621

URL: http://svn.apache.org/viewvc?rev=1746621&view=rev
Log:
[BEANUTILS-477] Changed log level.

If a property cannot be created for a method,
FluentPropertyBeanIntrospector no longer logs a warning, but only a
statement on INFO level. The stacktrace is then logged with DEBUG
level.

Modified:
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/FluentPropertyBeanIntrospector.java

Modified: commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/FluentPropertyBeanIntrospector.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/FluentPropertyBeanIntrospector.java?rev=1746621&r1=1746620&r2=1746621&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/FluentPropertyBeanIntrospector.java
(original)
+++ commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/FluentPropertyBeanIntrospector.java
Thu Jun  2 20:01:25 2016
@@ -144,8 +144,9 @@ public class FluentPropertyBeanIntrospec
                         pd.setWriteMethod(m);
                     }
                 } catch (final IntrospectionException e) {
-                    log.warn("Error when creating PropertyDescriptor for " + m
-                            + "! Ignoring this property.", e);
+                    log.info("Error when creating PropertyDescriptor for " + m
+                            + "! Ignoring this property.");
+                    log.debug("Exception is:", e);
                 }
             }
         }



Mime
View raw message