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.
This commit is contained in:
Harald Welte 2013-02-19 11:57:14 +01:00
parent c28c6a02d2
commit cd6ed82d1f
1 changed files with 1 additions and 1 deletions

View File

@ -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" },