lib:ldb-samba: Set log level for ldb tracing to 11
authorAndreas Schneider <asn@samba.org>
Tue, 22 Jun 2021 07:00:09 +0000 (09:00 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 23 Jun 2021 08:19:30 +0000 (08:19 +0000)
We should not enable ldb tracing on debug level 10 which is meant for
Samba debug logs and not trace logs.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
lib/ldb-samba/ldb_wrap.c

index 6c2c707284e9bf5b093c491fd7a3e4c17b8e4842..f8a65209b84274f4daa62a1e79316159fe97a237 100644 (file)
@@ -64,7 +64,7 @@ static void ldb_wrap_debug(void *context, enum ldb_debug_level level,
                samba_level = 2;
                break;
        case LDB_DEBUG_TRACE:
-               samba_level = 10;
+               samba_level = 11;
                break;
 
        };