Hi,

I can only second that statement about the (non-) cost of logging. Having said that, what kind of degradation are you actually observing ? Can you share some information with us on this subject ?

Kind Regards
Werner Guttmann

On 26.09.2011 20:42, Thom Hehl wrote:
Hi, Richard!

If you look through the documentation for log4j, there is a trivial cost
for supplying these log statements and probably much less if you turn
them off.

The cost of this is pretty minor and I wouldn't worry about it.


-----Original Message-----
From: Richard2011 [mailto:[email protected]]
Sent: Monday, September 26, 2011 2:41 PM
To: [email protected]
Subject: [castor-user] Castor Performance Degradation - Can INFO
messages, .cdr file or lot's of classes be the cause of it?


My first reasonable question, can INFO messages as the following:

INFO: org.exolab.castor.xml.UnmarshalHandler - #endElement: bind-xml

INFO: org.exolab.castor.xml.UnmarshalHandler - #characters:

Degrade the performance? (I see in the logs lot's of this messages -
using
Net Beans 6.9.1) and I was curious. Until it ends this type of messages
it
continues with normal processes. Can logging be the cause of castor
degradation?

2.) I was reading about a .cdr file.. would this help? How can I
generate
one?

3.) I have at least 20 classes, some are nested on others.. is there any
chance this can cause degradation as well? Or maybe that a mapping made
in
the xml file can be changed in order to improve performance?

I really appreciate any assistance that anyone can give me...

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to