LdapContext ctx = null;
try {
ctx = new InitialLdapContext(env, null);
}
catch (Exception e) {
<BUG>if (_log.isDebugEnabled()) {

_log.debug("Failed to bind to the LDAP server");

}</BUG>
return;

LdapContext ctx = null;
try {
ctx = new InitialLdapContext(env, null);
}
catch (Exception e) {
if (_log.isWarnEnabled()) {
_log.warn("Failed to bind to the LDAP server");
}
if (_log.isDebugEnabled()) {
_log.debug(e);
}
