From: Kurt Zeilenga Date: Fri, 21 Jun 2002 19:49:25 +0000 (+0000) Subject: Cut back on the logging... X-Git-Tag: NO_SLAP_OP_BLOCKS~1398 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2de291ed6e2d0547ba980b4fc1583faa3264b9de;p=openldap Cut back on the logging... --- diff --git a/libraries/libldap/getdn.c b/libraries/libldap/getdn.c index 4dd2279ee5..43c1b4470b 100644 --- a/libraries/libldap/getdn.c +++ b/libraries/libldap/getdn.c @@ -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