summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-03-01 13:19:10 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:52:10 -0500
commitfe7706c1052cf16a7c5a3e6a858f355d1786dc56 (patch)
treee79ce8cc59254c0755c0683024f78920fc62f4b2 /source4
parent71bf8326f53949821291771a8303e48245f5c6e7 (diff)
downloadsamba-fe7706c1052cf16a7c5a3e6a858f355d1786dc56.tar.gz
samba-fe7706c1052cf16a7c5a3e6a858f355d1786dc56.tar.bz2
samba-fe7706c1052cf16a7c5a3e6a858f355d1786dc56.zip
r13768: be less verbose...
metze (This used to be commit 18fe8a6fbb7b01c0c4d4318ca39ac0af9bab5e5f)
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/db_wrap.c3
1 files changed, 3 insertions, 0 deletions
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));