1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-10 13:57:47 +03:00

up the debug level of the debug level change msg

This commit is contained in:
Andrew Tridgell -
parent 33aefc76e8
commit 9b25342f4a

View File

@ -234,13 +234,13 @@ void debug_message(int msg_type, pid_t src, void *buf, size_t len)
/* Set the new DEBUGLEVEL_CLASS array from the pased array */ /* Set the new DEBUGLEVEL_CLASS array from the pased array */
memcpy(DEBUGLEVEL_CLASS, buf, sizeof(DEBUGLEVEL_CLASS)); memcpy(DEBUGLEVEL_CLASS, buf, sizeof(DEBUGLEVEL_CLASS));
DEBUG(1,("INFO: Debug class %s level = %d (pid %d from pid %d)\n", DEBUG(3,("INFO: Debug class %s level = %d (pid %d from pid %d)\n",
classname_table[DBGC_ALL], classname_table[DBGC_ALL],
DEBUGLEVEL_CLASS[DBGC_ALL], getpid(), (int)src)); DEBUGLEVEL_CLASS[DBGC_ALL], getpid(), (int)src));
for (i=1; i<DBGC_LAST; i++) { for (i=1; i<DBGC_LAST; i++) {
if (DEBUGLEVEL_CLASS[i]) if (DEBUGLEVEL_CLASS[i])
DEBUGADD(1,("INFO: Debug class %s level = %d\n", DEBUGADD(3,("INFO: Debug class %s level = %d\n",
classname_table[i], DEBUGLEVEL_CLASS[i])); classname_table[i], DEBUGLEVEL_CLASS[i]));
} }
} }