From cd6ed82d1ff48f47ad9e33e6322df62896a76ed5 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 19 Feb 2013 11:57:14 +0100 Subject: Fix log level "everything" and make it equal to "debug" As Holger points out "logging level XXX everything" wasn't working, as it sets category->loglevel to 0, which is checked in osmo_vlogp() and will never get logged. --- src/logging.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/logging.c b/src/logging.c index 1b94ec0b..f64fd3c2 100644 --- a/src/logging.c +++ b/src/logging.c @@ -55,7 +55,7 @@ LLIST_HEAD(osmo_log_target_list); #define LOGLEVEL_DEFS 6 /* Number of loglevels.*/ static const struct value_string loglevel_strs[LOGLEVEL_DEFS+1] = { - { 0, "EVERYTHING" }, + { LOGL_DEBUG, "EVERYTHING" }, /* backwards compatibility */ { LOGL_DEBUG, "DEBUG" }, { LOGL_INFO, "INFO" }, { LOGL_NOTICE, "NOTICE" }, -- cgit v1.2.3