[SCM] Samba Shared Repository - branch master updated
Andreas Schneider
asn at samba.org
Wed Jun 23 09:04:02 UTC 2021
The branch, master has been updated
via 0fe2ae66089 lib:ldb-samba: Use debug level defines
via 1a2ca143218 lib:ldb-samba: Set log level for ldb tracing to 11
from fb665462b17 s3: VFS: Update status of SMB_VFS_RENAMEAT.
https://git.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 0fe2ae660893104090ba09556d810756fb2f207f
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jun 22 09:03:06 2021 +0200
lib:ldb-samba: Use debug level defines
Signed-off-by: Andreas Schneider <asn at samba.org>
Reviewed-by: Ralph Boehme <slow at samba.org>
Autobuild-User(master): Andreas Schneider <asn at cryptomilk.org>
Autobuild-Date(master): Wed Jun 23 09:03:42 UTC 2021 on sn-devel-184
commit 1a2ca1432188e5ea239cfac37141b501dd769f99
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jun 22 09:00:09 2021 +0200
lib:ldb-samba: Set log level for ldb tracing to 11
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 at samba.org>
Reviewed-by: Ralph Boehme <slow at samba.org>
-----------------------------------------------------------------------
Summary of changes:
lib/ldb-samba/ldb_wrap.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Changeset truncated at 500 lines:
diff --git a/lib/ldb-samba/ldb_wrap.c b/lib/ldb-samba/ldb_wrap.c
index 6c2c707284e..cfc8732cf60 100644
--- a/lib/ldb-samba/ldb_wrap.c
+++ b/lib/ldb-samba/ldb_wrap.c
@@ -55,16 +55,16 @@ static void ldb_wrap_debug(void *context, enum ldb_debug_level level,
int samba_level = -1;
switch (level) {
case LDB_DEBUG_FATAL:
- samba_level = 0;
+ samba_level = DBGLVL_ERR;
break;
case LDB_DEBUG_ERROR:
- samba_level = 1;
+ samba_level = DBGLVL_WARNING;
break;
case LDB_DEBUG_WARNING:
- samba_level = 2;
+ samba_level = DBGLVL_NOTICE;
break;
case LDB_DEBUG_TRACE:
- samba_level = 10;
+ samba_level = DBGLVL_DEBUG + 1;
break;
};
--
Samba Shared Repository
More information about the samba-cvs
mailing list