From: Julius Enarusai Date: Wed, 27 Mar 2002 19:18:11 +0000 (+0000) Subject: Added LDAP_LOG messages X-Git-Tag: OPENLDAP_REL_ENG_2_MP~299 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=150aa3fc7b840760a5c8bf2636045c9567c576dc;p=openldap Added LDAP_LOG messages --- diff --git a/libraries/libldap/delete.c b/libraries/libldap/delete.c index 241de1a37c..c91e02e565 100644 --- a/libraries/libldap/delete.c +++ b/libraries/libldap/delete.c @@ -48,7 +48,11 @@ ldap_delete_ext( int rc; BerElement *ber; - Debug( LDAP_DEBUG_TRACE, "ldap_delete\n", 0, 0, 0 ); +#ifdef NEW_LOGGING + LDAP_LOG (( "delete", LDAP_LEVEL_ENTRY, "ldap_delete_ext\n" )); +#else + Debug( LDAP_DEBUG_TRACE, "ldap_delete_ext\n", 0, 0, 0 ); +#endif assert( ld != NULL ); assert( LDAP_VALID( ld ) ); @@ -134,7 +138,11 @@ ldap_delete( LDAP *ld, LDAP_CONST char *dn ) * DelRequet ::= DistinguishedName, */ +#ifdef NEW_LOGGING + LDAP_LOG (( "delete", LDAP_LEVEL_ENTRY, "ldap_delete\n" )); +#else Debug( LDAP_DEBUG_TRACE, "ldap_delete\n", 0, 0, 0 ); +#endif return ldap_delete_ext( ld, dn, NULL, NULL, &msgid ) == LDAP_SUCCESS ? msgid : -1 ;