]> git.sur5r.net Git - openldap/commitdiff
Added LDAP_LOG Messages
authorJulius Enarusai <julius@openldap.org>
Tue, 2 Apr 2002 00:22:57 +0000 (00:22 +0000)
committerJulius Enarusai <julius@openldap.org>
Tue, 2 Apr 2002 00:22:57 +0000 (00:22 +0000)
libraries/libldap/unbind.c
libraries/libldap/url.c

index b2a35e9c5c0c4877017d8c709c8ade3c2e60440b..4474920bf7bc97d65ce867aa47b7bd012384e8dc 100644 (file)
@@ -58,7 +58,11 @@ ldap_unbind_ext_s(
 int
 ldap_unbind( LDAP *ld )
 {
+#ifdef NEW_LOGGING
+       LDAP_LOG (( "unbind", LDAP_LEVEL_ENTRY, "ldap_unbind\n" ));
+#else
        Debug( LDAP_DEBUG_TRACE, "ldap_unbind\n", 0, 0, 0 );
+#endif
 
        return( ldap_unbind_ext( ld, NULL, NULL ) );
 }
@@ -176,7 +180,11 @@ ldap_send_unbind(
 {
        BerElement      *ber;
 
+#ifdef NEW_LOGGING
+       LDAP_LOG (( "unbind", LDAP_LEVEL_ENTRY, "ldap_send_unbind\n" ));
+#else
        Debug( LDAP_DEBUG_TRACE, "ldap_send_unbind\n", 0, 0, 0 );
+#endif
 
 #ifdef LDAP_CONNECTIONLESS
        if (LDAP_IS_UDP(ld))
index 85ac5ea01b472f85374405e3e8a3265c276b4bb8..42a595aee5f5c884effe91c542a07321ca03aea2 100644 (file)
@@ -445,7 +445,11 @@ ldap_url_parse_ext( LDAP_CONST char *url_in, LDAPURLDesc **ludpp )
         * because a call to LDAP_INT_GLOBAL_OPT() will try to allocate
         * the options and cause infinite recursion
         */
+#ifdef NEW_LOGGING
+       LDAP_LOG (( "url", LDAP_LEVEL_ENTRY, "ldap_url_parse_ext(%s)\n", url_in ));
+#else
        Debug( LDAP_DEBUG_TRACE, "ldap_url_parse_ext(%s)\n", url_in, 0, 0 );
+#endif
 #endif
 
        *ludpp = NULL;  /* pessimistic */