From: Alex Burmashev Date: Tue, 04 May 2021 13:31:41 +0100 Subject: [PATCH] restore default debug level for sss_cache We want only fatal failures to be logged, otherwise in some conditions log is. flooded with unneeded "errors" Resolves: https://github.com/SSSD/sssd/issues/5488 Orabug: 32810448 Signed-off-by: Alex Burmashev Patch migrated from ol8 to ol9 without any modification Signed-off-by: Darren Archibald diff -ruN sssd-2.4.0.orig/src/tools/sss_cache.c sssd-2.4.0/src/tools/sss_cache.c --- sssd-2.4.0.orig/src/tools/sss_cache.c 2021-06-29 12:48:07.035970021 -0700 +++ sssd-2.4.0/src/tools/sss_cache.c 2021-06-29 13:11:23.126918933 -0700 @@ -709,7 +709,7 @@ struct cache_tool_ctx *ctx = NULL; int idb = INVALIDATE_NONE; struct input_values values = { 0 }; - int debug = SSSDBG_TOOLS_DEFAULT; + int debug = SSSDBG_FATAL_FAILURE; errno_t ret = EOK; poptContext pc = NULL;