aboutsummaryrefslogtreecommitdiffstats
path: root/src/logging.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2013-02-19 11:57:14 +0100
committerHarald Welte <laforge@gnumonks.org>2013-02-19 11:57:14 +0100
commitcd6ed82d1ff48f47ad9e33e6322df62896a76ed5 (patch)
treec86c9a417c9307cd138128ec0f8e1644d813df8a /src/logging.c
parentc28c6a02d224ed74878fe4899870d693de15f54d (diff)
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.
Diffstat (limited to 'src/logging.c')
-rw-r--r--src/logging.c2
1 files changed, 1 insertions, 1 deletions
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" },