2 Replies Latest reply on Sep 26, 2006 8:39 AM by Dave Caruana

    log.debug

    Dave Caruana Newbie

      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