mirror of https://gerrit.osmocom.org/libosmocore
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:
parent
c28c6a02d2
commit
cd6ed82d1f
|
@ -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" },
|
||||
|
|
Loading…
Reference in New Issue