diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-03-12 19:42:08 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-03-13 08:39:52 +0000 |
commit | 5e2812c94d00ff97fe37267d5650e902e2b2907f (patch) | |
tree | 258e89f503ab6737a84500c25a7ac4314d0b9bf8 /src/ipaccess | |
parent | 1bb555439dba1c0e9582120523a7260832197c88 (diff) |
ipaccess-config: Enable logging all categories to print errors
log_parse_category_mask is preventing errors from being printed, which
makes debugging issues with the application harder.
Change-Id: I69ee2de921979f8bfaa8b501c6b05db1717b0c36
Diffstat (limited to 'src/ipaccess')
-rw-r--r-- | src/ipaccess/ipaccess-config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipaccess/ipaccess-config.c b/src/ipaccess/ipaccess-config.c index a1985b761..35500c916 100644 --- a/src/ipaccess/ipaccess-config.c +++ b/src/ipaccess/ipaccess-config.c @@ -843,7 +843,8 @@ static const struct log_info_cat log_categories[] = { .name = "DNM", .description = "A-bis Network Management / O&M (NM/OML)", .color = "\033[1;36m", - .enabled = 1, .loglevel = LOGL_INFO, + .loglevel = LOGL_DEBUG, + .enabled = 1, }, }; @@ -862,7 +863,6 @@ int main(int argc, char **argv) msgb_talloc_ctx_init(tall_ctx_config, 0); osmo_init_logging(&log_info); - log_parse_category_mask(osmo_stderr_target, "DNM,0"); bts_model_nanobts_init(); printf("ipaccess-config (C) 2009-2010 by Harald Welte and others\n"); |