From d3750f3c3a9e232629c8b634b7b5407114667700 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Wed, 27 Apr 2011 15:28:07 -0400 Subject: Override config file debug_level with command-line This patch also makes the following changes: 1) The [sssd] debug_level setting no longer acts as a default for all other sections. 2) We will now skip passing the debug argument to the child processes from the master unless the SSSD was run with a command-line argument for the debug level. https://fedorahosted.org/sssd/ticket/764 --- src/util/debug.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/util/debug.c') diff --git a/src/util/debug.c b/src/util/debug.c index 1b78ebaef..129b9d9b1 100644 --- a/src/util/debug.c +++ b/src/util/debug.c @@ -31,7 +31,8 @@ #include "util/util.h" const char *debug_prg_name = "sssd"; -int debug_level = 0; + +int debug_level = SSS_UNRESOLVED_DEBUG_LEVEL; int debug_timestamps = 1; int debug_to_file = 0; -- cgit