]> git.sur5r.net Git - openldap/commitdiff
Added LDAP_LOG messages
authorJulius Enarusai <julius@openldap.org>
Tue, 26 Mar 2002 17:47:52 +0000 (17:47 +0000)
committerJulius Enarusai <julius@openldap.org>
Tue, 26 Mar 2002 17:47:52 +0000 (17:47 +0000)
servers/slapd/back-bdb/compare.c

index 5015dd380444f0942f3478c4c6890f2067e86635..37e621905aee2eb4409db016da9a3df8a920d67c 100644 (file)
@@ -75,8 +75,12 @@ bdb_compare(
                BerVarray refs = get_entry_referrals( be,
                        conn, op, e );
 
+#ifdef NEW_LOGGING
+               LDAP_LOG (( "compare", LDAP_LEVEL_DETAIL1,"bdb_compare: entry is referral\n" ));
+#else
                Debug( LDAP_DEBUG_TRACE, "entry is referral\n", 0,
                        0, 0 );
+#endif
 
                send_ldap_result( conn, op, rc = LDAP_REFERRAL,
                        e->e_dn, NULL, refs, NULL );