lib/util Change debug priority order: DEBUG_STDOUT now overrides DEBUG_FILE
authorAndrew Bartlett <abartlet@samba.org>
Mon, 18 Jul 2011 06:00:16 +0000 (16:00 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 19 Jul 2011 23:17:09 +0000 (09:17 +1000)
Signed-off-by: Andrew Tridgell <tridge@samba.org>
lib/util/debug.h

index c01fa928b5ea2c15f7ce8394fc5d2bd0a1cdb79a..2708b19fd149f513b4305cadcaab6ebcd6696db1 100644 (file)
@@ -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;