People keep using 'debug' instead of 'verbose'; make both work.
#define SERVICE_LOGLEVEL_NORMAL "normal"
/** Normal logging level plus debug messages. */
#define SERVICE_LOGLEVEL_VERBOSE "verbose"
+#define SERVICE_LOGLEVEL_DEBUG "debug"
/** @} */
if (g_ascii_strcasecmp(loglevel, SERVICE_LOGLEVEL_NORMAL) == 0) {
logWantedLevel = DEFAULT_LOG_LEVELS;
- } else if (g_ascii_strcasecmp(loglevel, SERVICE_LOGLEVEL_VERBOSE) == 0) {
+ } else if ((g_ascii_strcasecmp(loglevel, SERVICE_LOGLEVEL_VERBOSE) == 0) ||
+ (g_ascii_strcasecmp(loglevel, SERVICE_LOGLEVEL_DEBUG) == 0)) {
logWantedLevel = DEFAULT_LOG_LEVELS | G_LOG_LEVEL_DEBUG;
gVerboseLogging = TRUE;
} else {