summaryrefslogtreecommitdiffstats
path: root/source/lib/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/lib/debug.c')
-rw-r--r--source/lib/debug.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/lib/debug.c b/source/lib/debug.c
index d3ba8f9c370..6c61d45d224 100644
--- a/source/lib/debug.c
+++ b/source/lib/debug.c
@@ -214,8 +214,12 @@ BOOL debug_parse_levels(char *params_str)
char *params[DBGC_LAST];
int debuglevel_class[DBGC_LAST];
- if (AllowDebugChange == False)
+ if (AllowDebugChange == False) {
+ DEBUG(1,("INFO: Debug class %s level = %d\n",
+ classname_table[DBGC_ALL],
+ DEBUGLEVEL_CLASS[DBGC_ALL]));
return True;
+ }
ZERO_ARRAY(params);
ZERO_ARRAY(debuglevel_class);