summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2013-01-06 22:17:26 -0800
committerAndrew Bartlett <abartlet@samba.org>2013-02-08 15:06:31 +1100
commit2470b0fe5f3facf7bb41acbdb3028e2d5daaf8da (patch)
tree5fab50e7a1874c0cfe6ddb91dc410a64553a6456 /lib
parent1c0d3486a485cf01338dd5eff49ce847628d1b83 (diff)
downloadsamba-2470b0fe5f3facf7bb41acbdb3028e2d5daaf8da.tar.gz
samba-2470b0fe5f3facf7bb41acbdb3028e2d5daaf8da.tar.bz2
samba-2470b0fe5f3facf7bb41acbdb3028e2d5daaf8da.zip
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 <abartlet@samba.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/ldb/ldb_tdb/ldb_search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ldb/ldb_tdb/ldb_search.c b/lib/ldb/ldb_tdb/ldb_search.c
index 26296c7f7d..1e7e7ea82f 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":