From: Julius Enarusai Date: Wed, 27 Mar 2002 19:43:07 +0000 (+0000) Subject: Added LDAP_LOG messages X-Git-Tag: OPENLDAP_REL_ENG_2_MP~296 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9c908113156f948fde9d13ff88215c2d6cf41c35;p=openldap Added LDAP_LOG messages --- diff --git a/libraries/libldap/getattr.c b/libraries/libldap/getattr.c index dd18acd969..e5cd6e628d 100644 --- a/libraries/libldap/getattr.c +++ b/libraries/libldap/getattr.c @@ -30,7 +30,11 @@ ldap_first_attribute( LDAP *ld, LDAPMessage *entry, BerElement **berout ) char *attr; BerElement *ber; +#ifdef NEW_LOGGING + LDAP_LOG (( "getattr", LDAP_LEVEL_ENTRY, "ldap_first_attribute\n" )); +#else Debug( LDAP_DEBUG_TRACE, "ldap_first_attribute\n", 0, 0, 0 ); +#endif assert( ld != NULL ); assert( LDAP_VALID( ld ) ); @@ -92,7 +96,11 @@ ldap_next_attribute( LDAP *ld, LDAPMessage *entry, BerElement *ber ) ber_tag_t tag; char *attr; +#ifdef NEW_LOGGING + LDAP_LOG (( "getattr", LDAP_LEVEL_ENTRY, "ldap_next_attribute\n" )); +#else Debug( LDAP_DEBUG_TRACE, "ldap_next_attribute\n", 0, 0, 0 ); +#endif assert( ld != NULL ); assert( LDAP_VALID( ld ) );