From 3c9d01e3e58e2217915317406541ac8c6f6dcf92 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 18 Jul 2011 16:00:16 +1000 Subject: [PATCH] lib/util Change debug priority order: DEBUG_STDOUT now overrides DEBUG_FILE Signed-off-by: Andrew Tridgell --- 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 c01fa928b5e..2708b19fd14 100644 --- a/lib/util/debug.h +++ b/lib/util/debug.h @@ -197,7 +197,7 @@ extern int *DEBUGLEVEL_CLASS; * for example. This makes it easy to override for debug to stderr on * the command line, as the smb.conf cannot reset it back to * file-based logging */ -enum debug_logtype {DEBUG_DEFAULT_STDERR = 0, DEBUG_STDOUT = 1, DEBUG_FILE = 2, DEBUG_STDERR = 3}; +enum debug_logtype {DEBUG_DEFAULT_STDERR = 0, DEBUG_DEFAULT_STDOUT = 1, DEBUG_FILE = 2, DEBUG_STDOUT = 3, DEBUG_STDERR = 4}; struct debug_settings { size_t max_log_size; -- 2.34.1