mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-10 14:23:34 -05:00
Added LDAP_LOG Messages
This commit is contained in:
parent
4ab3ce1651
commit
98f3c3d43b
2 changed files with 12 additions and 0 deletions
|
|
@ -96,10 +96,16 @@ ldap_back_dn_massage(
|
|||
res->bv_val = ch_malloc( res->bv_len + 1 );
|
||||
strncpy( res->bv_val, dn->bv_val, diff );
|
||||
strcpy( &res->bv_val[diff], li->suffix_massage[i+dst]->bv_val );
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG (( "suffixmassage", LDAP_LEVEL_ARGS,
|
||||
"ldap_back_dn_massage: converted \"%s\" to \"%s\"\n",
|
||||
dn->bv_val, res->bv_val ));
|
||||
#else
|
||||
Debug( LDAP_DEBUG_ARGS,
|
||||
"ldap_back_dn_massage:"
|
||||
" converted \"%s\" to \"%s\"\n",
|
||||
dn->bv_val, res->bv_val, 0 );
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -71,9 +71,15 @@ ldap_back_conn_destroy(
|
|||
ldap_pvt_thread_mutex_unlock( &li->conn_mutex );
|
||||
|
||||
if (lc) {
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG(( "backend", LDAP_LEVEL_DETAIL1,
|
||||
"ldap_back_conn_destroy: destroying conn %ld\n",
|
||||
conn->c_connid ));
|
||||
#else /* !NEW_LOGGING */
|
||||
Debug( LDAP_DEBUG_TRACE,
|
||||
"=>ldap_back_conn_destroy: destroying conn %ld\n",
|
||||
lc->conn->c_connid, 0, 0 );
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_REWRITE
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue