From c4fb8f55f2894de431478ccfec63f9a97e090d0e Mon Sep 17 00:00:00 2001 From: Michal Židek Date: Mon, 10 Aug 2015 18:35:16 +0200 Subject: DEBUG: Add new debug category for fail over. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Lukáš Slebodník --- src/util/debug.c | 2 +- src/util/util.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src/util') diff --git a/src/util/debug.c b/src/util/debug.c index bf83624c9..69df54386 100644 --- a/src/util/debug.c +++ b/src/util/debug.c @@ -114,7 +114,7 @@ int debug_convert_old_level(int old_level) new_level |= SSSDBG_TRACE_INTERNAL; if (old_level >= 9) - new_level |= SSSDBG_TRACE_ALL; + new_level |= SSSDBG_TRACE_ALL | SSSDBG_BE_FO; return new_level; } diff --git a/src/util/util.h b/src/util/util.h index 94a3ddea8..426fd8b86 100644 --- a/src/util/util.h +++ b/src/util/util.h @@ -92,6 +92,7 @@ int get_fd_from_debug_file(void); #define SSSDBG_TRACE_LIBS 0x1000 /* level 7 */ #define SSSDBG_TRACE_INTERNAL 0x2000 /* level 8 */ #define SSSDBG_TRACE_ALL 0x4000 /* level 9 */ +#define SSSDBG_BE_FO 0x8000 /* level 9 */ #define SSSDBG_IMPORTANT_INFO SSSDBG_OP_FAILURE #define SSSDBG_INVALID -1 -- cgit