diff options
author | Herb Lewis <herb@samba.org> | 2002-02-19 19:42:00 +0000 |
---|---|---|
committer | Herb Lewis <herb@samba.org> | 2002-02-19 19:42:00 +0000 |
commit | 16806d749fb0b0a39eb871e764ff439c8944f150 (patch) | |
tree | dfcee2c4e7e06e99da80006f818c8ebbe0b28a2a | |
parent | bb13a0654e83fd4c97e05ebbcec56ca61cb5f37d (diff) | |
download | samba-16806d749fb0b0a39eb871e764ff439c8944f150.tar.gz samba-16806d749fb0b0a39eb871e764ff439c8944f150.tar.xz samba-16806d749fb0b0a39eb871e764ff439c8944f150.zip |
print out entire log level information not just DBG_ALL
-rw-r--r-- | source/param/loadparm.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/param/loadparm.c b/source/param/loadparm.c index db7c5140799..a916bf2c896 100644 --- a/source/param/loadparm.c +++ b/source/param/loadparm.c @@ -2830,6 +2830,13 @@ static void print_parameter(struct parm_struct *p, void *ptr, FILE * f, char *( case P_INTEGER: fprintf(f, "%d", *(int *)ptr); + if (strequal(p->label,"log level")) { + int i; + for (i = 1; i < DBGC_LAST; i ++) { + if (((int *)ptr)[i]) + fprintf(f, ",%s:%d",debug_classname_from_index(i),((int *)ptr)[i]); + } + } break; case P_CHAR: |