summaryrefslogtreecommitdiffstats
path: root/source/lib/debug.c
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2002-02-14 22:32:41 +0000
committerHerb Lewis <herb@samba.org>2002-02-14 22:32:41 +0000
commit63ab6d54429bd7a8f7d167902032a1915c083d90 (patch)
tree014c777657aceeafbf88dcf35aa3bfbb158fd7b9 /source/lib/debug.c
parent2ff50ba28a7b893ad565e0abd97d4e4cc4e2c0c7 (diff)
downloadsamba-63ab6d54429bd7a8f7d167902032a1915c083d90.tar.gz
samba-63ab6d54429bd7a8f7d167902032a1915c083d90.tar.xz
samba-63ab6d54429bd7a8f7d167902032a1915c083d90.zip
print out debug level even when we don't allow it to be changed.
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);