Apache BeanUtils.copyProperties is spilling too much log

Posted by Ravi Gupta on Stack Overflow See other posts from Stack Overflow or by Ravi Gupta
Published on 2010-03-23T13:05:03Z Indexed on 2010/03/23 13:13 UTC
Read the original article Hit count: 473

Filed under:
|
|
|

How can I switch off logging for BeanUtils.copyProperties ? It creates way too much logs and hampers the log file readability. Thanks heaps..

Sample code

BeanUtils.copyProperties(someDataobject,someActionForm);

In the log I see hunders of lines like below

EBUG org.apache.commons.beanutils.PropertyUtils - setSimpleProperty:
Invoking method public void someMethod(java.lang.String) with value null (class )
2010-03-23 18:53:23,134 DEBUG org.apache.commons.beanutils.BeanUtils - copyProperty(someActionForm@13e38a7, someValue, )

© Stack Overflow or respective owner

Related posts about apache

Related posts about beanutils