summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2014-07-29 11:20:27 +0000
committerMichael Adam <obnox@samba.org>2014-07-31 18:49:46 +0200
commit222996931d5ef8661ec69f34a9a0e2f4e8a980fb (patch)
tree242385659cc2de52e8b6edac0df73be9820deb45
parent02a06ae6170666b78bfcba011d65918997e6f290 (diff)
downloadsamba-222996931d5ef8661ec69f34a9a0e2f4e8a980fb.tar.gz
samba-222996931d5ef8661ec69f34a9a0e2f4e8a980fb.tar.xz
samba-222996931d5ef8661ec69f34a9a0e2f4e8a980fb.zip
debug: Add some readability to debug_logtype
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
-rw-r--r--lib/util/debug.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/util/debug.h b/lib/util/debug.h
index f393f1b695..01ef2a01d6 100644
--- a/lib/util/debug.h
+++ b/lib/util/debug.h
@@ -207,7 +207,14 @@ 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_DEFAULT_STDOUT = 1, DEBUG_FILE = 2, DEBUG_STDOUT = 3, DEBUG_STDERR = 4, DEBUG_CALLBACK = 5};
+enum debug_logtype {
+ DEBUG_DEFAULT_STDERR = 0,
+ DEBUG_DEFAULT_STDOUT = 1,
+ DEBUG_FILE = 2,
+ DEBUG_STDOUT = 3,
+ DEBUG_STDERR = 4,
+ DEBUG_CALLBACK = 5
+};
struct debug_settings {
size_t max_log_size;