From 0e95b807b9ff7dee9d53d7294011c6e8cd82fe0e Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 29 Jun 2009 19:57:57 +1000 Subject: [PATCH] Revert "s4:debug: make setup_logging() a bit more compatible with samba3" The problem is that the enum was previously a 'rachet', that is, it would only reset to a level higher than it was previouly set to. Changing the order broke file-based logging for our production sites. This reverts commit 49a6d757b4d944cd22c91b2838beb83f04fbe1e9. --- lib/util/debug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util/debug.h b/lib/util/debug.h index 85e64fb8616b..7518a64e1961 100644 --- a/lib/util/debug.h +++ b/lib/util/debug.h @@ -75,7 +75,7 @@ extern int DEBUGLEVEL; #define DEBUGTAB(n) do_debug_tab(n) /** Possible destinations for the debug log */ -enum debug_logtype {DEBUG_FILE = 0, DEBUG_STDOUT = 1, DEBUG_STDERR = 2}; +enum debug_logtype {DEBUG_STDOUT = 0, DEBUG_FILE = 1, DEBUG_STDERR = 2}; /** the backend for debug messages. Note that the DEBUG() macro has already -- 2.34.1