]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#7796 Move 'not indexed' messages to loglevel filter
authorOndřej Kuzník <ondra@mistotebe.net>
Thu, 11 Jun 2020 11:21:39 +0000 (12:21 +0100)
committerOndřej Kuzník <ondra@mistotebe.net>
Mon, 22 Jun 2020 08:28:26 +0000 (09:28 +0100)
servers/slapd/back-mdb/filterindex.c
servers/slapd/back-wt/filterindex.c

index 83f6e9a2d6df4c0b815c3fb7d2b8d2a4d1bdceef..00488822e6a902ddd99c5e8ad299e97a88b8aa4b 100644 (file)
@@ -650,7 +650,7 @@ presence_candidates(
 
        if( rc == LDAP_INAPPROPRIATE_MATCHING ) {
                /* not indexed */
-               Debug( LDAP_DEBUG_TRACE,
+               Debug( LDAP_DEBUG_FILTER,
                        "<= mdb_presence_candidates: (%s) not indexed\n",
                        desc->ad_cname.bv_val );
                return 0;
@@ -734,7 +734,7 @@ equality_candidates(
                &dbi, &mask, &prefix );
 
        if ( rc == LDAP_INAPPROPRIATE_MATCHING ) {
-               Debug( LDAP_DEBUG_ANY,
+               Debug( LDAP_DEBUG_FILTER,
                        "<= mdb_equality_candidates: (%s) not indexed\n", 
                        ava->aa_desc->ad_cname.bv_val );
                return 0;
@@ -850,7 +850,7 @@ approx_candidates(
                &dbi, &mask, &prefix );
 
        if ( rc == LDAP_INAPPROPRIATE_MATCHING ) {
-               Debug( LDAP_DEBUG_ANY,
+               Debug( LDAP_DEBUG_FILTER,
                        "<= mdb_approx_candidates: (%s) not indexed\n",
                        ava->aa_desc->ad_cname.bv_val );
                return 0;
@@ -969,7 +969,7 @@ substring_candidates(
                &dbi, &mask, &prefix );
 
        if ( rc == LDAP_INAPPROPRIATE_MATCHING ) {
-               Debug( LDAP_DEBUG_ANY,
+               Debug( LDAP_DEBUG_FILTER,
                        "<= mdb_substring_candidates: (%s) not indexed\n",
                        sub->sa_desc->ad_cname.bv_val );
                return 0;
@@ -1085,7 +1085,7 @@ inequality_candidates(
                &dbi, &mask, &prefix );
 
        if ( rc == LDAP_INAPPROPRIATE_MATCHING ) {
-               Debug( LDAP_DEBUG_ANY,
+               Debug( LDAP_DEBUG_FILTER,
                        "<= mdb_inequality_candidates: (%s) not indexed\n", 
                        ava->aa_desc->ad_cname.bv_val );
                return 0;
index 1a9510427af2ef7148c159b96d28a00dd5eb1222..a6423ad4d60ada9ff442ceb0e87253ce4a6e4836 100644 (file)
@@ -53,7 +53,7 @@ presence_candidates(
 
        if( rc == LDAP_INAPPROPRIATE_MATCHING ) {
                /* not indexed */
-               Debug( LDAP_DEBUG_TRACE,
+               Debug( LDAP_DEBUG_FILTER,
                           "<= wt_presence_candidates: (%s) not indexed\n",
                           desc->ad_cname.bv_val );
                return 0;
@@ -135,7 +135,7 @@ equality_candidates(
                                                 &mask, &prefix );
 
        if ( rc == LDAP_INAPPROPRIATE_MATCHING ) {
-               Debug( LDAP_DEBUG_ANY,
+               Debug( LDAP_DEBUG_FILTER,
                           "<= wt_equality_candidates: (%s) not indexed\n",
                           ava->aa_desc->ad_cname.bv_val );
                return 0;
@@ -254,7 +254,7 @@ approx_candidates(
                                                 &mask, &prefix );
 
        if ( rc == LDAP_INAPPROPRIATE_MATCHING ) {
-               Debug( LDAP_DEBUG_ANY,
+               Debug( LDAP_DEBUG_FILTER,
                           "<= wt_approx_candidates: (%s) not indexed\n",
                           ava->aa_desc->ad_cname.bv_val );
                return 0;
@@ -385,7 +385,7 @@ substring_candidates(
                                                 &mask, &prefix );
 
        if ( rc == LDAP_INAPPROPRIATE_MATCHING ) {
-               Debug( LDAP_DEBUG_ANY,
+               Debug( LDAP_DEBUG_FILTER,
                           "<= wt_substring_candidates: (%s) not indexed\n",
                           sub->sa_desc->ad_cname.bv_val );
                return 0;