Now I read your message again, it looks like you are asking which of
log.debug("my expensive to construct message");
or
if (log.isDebugEnabled())
{
log.debug("my expensive to construct message");
}
you should use. In something like ServiceDeployer that is not performance critical
the simpler version is fine. If the message is static the simpler version is fine. If
you are constructing the message and the call is in the invocation chain it should
definitely be checked.
Sorry I'm going on so long...
______________________________________________________________________
View this jboss-dev thread in the online forums:
http://jboss.org/forums/thread.jsp?forum=66&thread=5895
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development