summaryrefslogtreecommitdiff
path: root/lib/util/debug.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-07-18 16:00:16 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-07-20 09:17:09 +1000
commit3c9d01e3e58e2217915317406541ac8c6f6dcf92 (patch)
tree59deabee686caaf5642733c5d3bc04bdcecf856e /lib/util/debug.h
parent93dcfdea389098fd802cc4f5be8d5d578454d624 (diff)
downloadsamba-3c9d01e3e58e2217915317406541ac8c6f6dcf92.tar.gz
samba-3c9d01e3e58e2217915317406541ac8c6f6dcf92.tar.bz2
samba-3c9d01e3e58e2217915317406541ac8c6f6dcf92.zip
lib/util Change debug priority order: DEBUG_STDOUT now overrides DEBUG_FILE
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'lib/util/debug.h')
-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 c01fa928b5..2708b19fd1 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;