[jboss-user] [JBoss jBPM] - log.debug

alf_dave do-not-reply at jboss.com
Thu Sep 21 06:18:46 EDT 2006


JBPM 3.1.2

In VariableContainer.java there are unprotected log.debug statements such as:

log.debug("create variable '"+name+"' in '"+this+"' with value '"+value+"'");

This is fine for simple values such as strings etc, but we have some object types whose toString() is a little more heavy.  Even when debugging is switched off, the toString for value is being called.

Can these calls be wrapped in log.isDebugEnable() in future versions of JBPM?

Should I raise a JIRA issue?

Thanks,
David Caruana
Alfresco

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973204#3973204

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973204



More information about the jboss-user mailing list