summaryrefslogtreecommitdiffstats
path: root/src/back-sch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/back-sch.c')
-rw-r--r--src/back-sch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/back-sch.c b/src/back-sch.c
index 31a2e67..c88bcc1 100644
--- a/src/back-sch.c
+++ b/src/back-sch.c
@@ -747,9 +747,6 @@ backend_search_set(const char *group, const char *set, bool_t flag,
}
break;
}
- slapi_log_error(SLAPI_LOG_PLUGIN, cbdata->state->plugin_desc->spd_id,
- "scope test succeeds for %s, searching its set\n",
- slapi_sdn_get_ndn(set_data->container_sdn));
map_data_foreach_entry_id(cbdata->state, group, set, NULL,
backend_search_set_cb, cbdata);
return TRUE;
@@ -770,6 +767,9 @@ backend_search_cb(Slapi_PBlock *pb)
slapi_pblock_get(pb, SLAPI_SEARCH_STRFILTER, &cbdata.strfilter);
slapi_pblock_get(pb, SLAPI_SEARCH_ATTRS, &cbdata.attrs);
slapi_pblock_get(pb, SLAPI_SEARCH_ATTRSONLY, &cbdata.attrsonly);
+ slapi_log_error(SLAPI_LOG_PLUGIN, cbdata.state->plugin_desc->spd_id,
+ "searching from \"%s\" for \"%s\" with scope %d\n",
+ cbdata.target, cbdata.strfilter, cbdata.scope);
cbdata.answer = FALSE;
cbdata.result = 0;
cbdata.matched = "";