From 799607231d60c332f1d1f2389f73bfa16a64e129 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Kuzn=C3=ADk?= Date: Thu, 11 Jun 2020 12:21:39 +0100 Subject: [PATCH] ITS#7796 Move 'not indexed' messages to loglevel filter --- servers/slapd/back-mdb/filterindex.c | 10 +++++----- servers/slapd/back-wt/filterindex.c | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/servers/slapd/back-mdb/filterindex.c b/servers/slapd/back-mdb/filterindex.c index 83f6e9a2d6..00488822e6 100644 --- a/servers/slapd/back-mdb/filterindex.c +++ b/servers/slapd/back-mdb/filterindex.c @@ -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; diff --git a/servers/slapd/back-wt/filterindex.c b/servers/slapd/back-wt/filterindex.c index 1a9510427a..a6423ad4d6 100644 --- a/servers/slapd/back-wt/filterindex.c +++ b/servers/slapd/back-wt/filterindex.c @@ -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;