From fe7706c1052cf16a7c5a3e6a858f355d1786dc56 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 1 Mar 2006 13:19:10 +0000 Subject: r13768: be less verbose... metze (This used to be commit 18fe8a6fbb7b01c0c4d4318ca39ac0af9bab5e5f) --- source4/lib/db_wrap.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4') diff --git a/source4/lib/db_wrap.c b/source4/lib/db_wrap.c index 5f4251bb92..d2481994c6 100644 --- a/source4/lib/db_wrap.c +++ b/source4/lib/db_wrap.c @@ -49,6 +49,9 @@ static void ldb_wrap_debug(void *context, enum ldb_debug_level level, if (DEBUGLEVEL < 4 && level > LDB_DEBUG_WARNING) { return; } + if (DEBUGLEVEL < 2 && level > LDB_DEBUG_ERROR) { + return; + } vasprintf(&s, fmt, ap); if (!s) return; DEBUG(level, ("ldb: %s\n", s)); -- cgit