From: Julius Enarusai Date: Wed, 27 Mar 2002 18:50:45 +0000 (+0000) Subject: Added LDAP_LOG messages X-Git-Tag: OPENLDAP_REL_ENG_2_MP~301 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e4f2c9425afc0f594212aa1697bad779733b96b9;p=openldap Added LDAP_LOG messages --- diff --git a/libraries/libldap/compare.c b/libraries/libldap/compare.c index fed8414483..83d7ec125e 100644 --- a/libraries/libldap/compare.c +++ b/libraries/libldap/compare.c @@ -54,7 +54,11 @@ ldap_compare_ext( int rc; BerElement *ber; +#ifdef NEW_LOGGING + LDAP_LOG (( "compare", LDAP_LEVEL_ENTRY, "ldap_compare\n" )); +#else Debug( LDAP_DEBUG_TRACE, "ldap_compare\n", 0, 0, 0 ); +#endif assert( ld != NULL ); assert( LDAP_VALID( ld ) );