From 2470b0fe5f3facf7bb41acbdb3028e2d5daaf8da Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Sun, 6 Jan 2013 22:17:26 -0800 Subject: [PATCH] ldb_tdb: raise level of full index scan message so that it starts to be really visible We don't want to have to set log level to 4 or 5 AND set the environment variable to be able to see those log messages Reviewed-by: Andrew Bartlett --- lib/ldb/ldb_tdb/ldb_search.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ldb/ldb_tdb/ldb_search.c b/lib/ldb/ldb_tdb/ldb_search.c index 26296c7f7dd..1e7e7ea82f0 100644 --- a/lib/ldb/ldb_tdb/ldb_search.c +++ b/lib/ldb/ldb_tdb/ldb_search.c @@ -606,7 +606,7 @@ int ltdb_search(struct ltdb_context *ctx) /* useful for debugging when slow performance * is caused by unindexed searches */ char *expression = ldb_filter_from_tree(ctx, ctx->tree); - ldb_debug(ldb, LDB_DEBUG_WARNING, "ldb FULL SEARCH: %s SCOPE: %s DN: %s\n", + ldb_debug(ldb, LDB_DEBUG_ERROR, "ldb FULL SEARCH: %s SCOPE: %s DN: %s", expression, req->op.search.scope==LDB_SCOPE_BASE?"base": req->op.search.scope==LDB_SCOPE_ONELEVEL?"one": -- 2.11.4.GIT