From e06413c2ba5a27607a03d7c009c66c1e7a187105 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sun, 26 Jun 2022 12:57:06 +0000 Subject: [PATCH] s3:dbwrap_watch: let dbwrap_watched_watch_state_destructor() use DBG_WARNING() When we (need) to ignore an error from dbwrap_do_locked() within dbwrap_watched_watch_state_destructor(), we better print this with log level 1 instead of 10. Signed-off-by: Stefan Metzmacher Reviewed-by: Ralph Boehme --- source3/lib/dbwrap/dbwrap_watch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/lib/dbwrap/dbwrap_watch.c b/source3/lib/dbwrap/dbwrap_watch.c index 17a52de37cc..e54d74df43f 100644 --- a/source3/lib/dbwrap/dbwrap_watch.c +++ b/source3/lib/dbwrap/dbwrap_watch.c @@ -1074,8 +1074,8 @@ static int dbwrap_watched_watch_state_destructor( dbwrap_watched_watch_state_destructor_fn, state); if (!NT_STATUS_IS_OK(status)) { - DBG_DEBUG("dbwrap_do_locked failed: %s\n", - nt_errstr(status)); + DBG_WARNING("dbwrap_do_locked failed: %s\n", + nt_errstr(status)); } return 0; }