<br><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">> if (logger.isDebugEnabled())<br>> logger.debug("LanguageMismatch - ptId: " + $pd.participant.id + ", Lang: " + $ptLanguage + ", staffId: " + $nd.staffId );
</blockquote><div><br>One thought would be to consider using Logback, which has a better api for this sort of thing. Something along the lines of:<br>logger.debug("LanguageMismatch - ptld: {}, Lang: {}, staffId: {}", $pd.participant.id, $ptLanuage, $nd.staffId);
<br><br>That buys you conditional logging without requiring the performance hit of assembling a string unless logging is enabled for the statement.<br></div><br> - Geoffrey<br></div>-- <br>Geoffrey Wiseman<br>