]> git.sur5r.net Git - openldap/commitdiff
Cut back on the logging...
authorKurt Zeilenga <kurt@openldap.org>
Fri, 21 Jun 2002 19:49:25 +0000 (19:49 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 21 Jun 2002 19:49:25 +0000 (19:49 +0000)
libraries/libldap/getdn.c

index 4dd2279ee5fd0ab31748b52fb4eca7e39aa5c5cf..43c1b4470b54c571f02cf1b278a67bda52b452e2 100644 (file)
@@ -662,7 +662,7 @@ ldap_bv2dn( struct berval *bv, LDAPDN **dn, unsigned flags )
 #ifdef NEW_LOGGING
        LDAP_LOG (( "getdn", LDAP_LEVEL_ARGS, "ldap_bv2dn(%s,%u)\n%s", 
                str, flags, "" ));
-#else
+#elif 0
        Debug( LDAP_DEBUG_TRACE, "=> ldap_bv2dn(%s,%u)\n%s", str, flags, "" );
 #endif
 
@@ -839,7 +839,7 @@ return_result:;
 #ifdef NEW_LOGGING
        LDAP_LOG (( "getdn", LDAP_LEVEL_RESULTS, "<= ldap_bv2dn(%s,%u)=%d\n", 
                str, flags, rc ));
-#else
+#elif 0
        Debug( LDAP_DEBUG_TRACE, "<= ldap_bv2dn(%s,%u)=%d\n", str, flags, rc );
 #endif
        *dn = newDN;
@@ -2969,7 +2969,7 @@ int ldap_dn2bv( LDAPDN *dn, struct berval *bv, unsigned flags )
 #ifdef NEW_LOGGING
        LDAP_LOG (( "getdn", LDAP_LEVEL_ARGS, "=> ldap_dn2bv(%u)\n%s%s", 
                flags, "", "" ));
-#else
+#elif 0
        Debug( LDAP_DEBUG_TRACE, "=> ldap_dn2bv(%u)\n%s%s", flags, "", "" );
 #endif
 
@@ -3281,7 +3281,7 @@ int ldap_dn2bv( LDAPDN *dn, struct berval *bv, unsigned flags )
 #ifdef NEW_LOGGING
        LDAP_LOG (( "getdn", LDAP_LEVEL_RESULTS, "<= ldap_dn2bv(%s,%u)=%d\n", 
                bv->bv_val, flags, rc ));
-#else
+#elif 0
        Debug( LDAP_DEBUG_TRACE, "<= ldap_dn2bv(%s,%u)=%d\n",
                bv->bv_val, flags, rc );
 #endif