#include "debug.h"
static char *debug_ident = NULL;
-static uint8_t debug_level = DBG_WARN;
+static uint8_t debug_level = DBG_INFO;
static FILE *debug_file = NULL;
static int debug_syslogfacility = 0;
case 3:
debug_level = DBG_INFO;
return;
+ case 4:
+ debug_level = DBG_DBG;
+ return;
}
}
if (debug_syslogfacility) {
switch (level) {
+ case DBG_DBG:
+ priority = LOG_DEBUG;
+ break;
case DBG_INFO:
priority = LOG_INFO;
break;