]> git.sur5r.net Git - openldap/commitdiff
Added LDAP_LOG messages
authorJulius Enarusai <julius@openldap.org>
Wed, 27 Mar 2002 19:18:11 +0000 (19:18 +0000)
committerJulius Enarusai <julius@openldap.org>
Wed, 27 Mar 2002 19:18:11 +0000 (19:18 +0000)
libraries/libldap/delete.c

index 241de1a37c759fc2a2e0e315284edba2ab1483b5..c91e02e565c61c186ec99670ac8abea154c39a80 100644 (file)
@@ -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 ;