summaryrefslogtreecommitdiff
path: root/lib/util
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2009-06-29 19:57:57 +1000
committerAndrew Bartlett <abartlet@samba.org>2009-06-29 19:57:57 +1000
commit0e95b807b9ff7dee9d53d7294011c6e8cd82fe0e (patch)
tree9bc89070ef66ed239905a39893558c99eb71be46 /lib/util
parent15013090df1af6a4e8330f6708d5fc30174140a2 (diff)
downloadsamba-0e95b807b9ff7dee9d53d7294011c6e8cd82fe0e.tar.gz
samba-0e95b807b9ff7dee9d53d7294011c6e8cd82fe0e.tar.bz2
samba-0e95b807b9ff7dee9d53d7294011c6e8cd82fe0e.zip
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.
Diffstat (limited to 'lib/util')
-rw-r--r--lib/util/debug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/debug.h b/lib/util/debug.h
index 85e64fb861..7518a64e19 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