From 5e2812c94d00ff97fe37267d5650e902e2b2907f Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Mon, 12 Mar 2018 19:42:08 +0100 Subject: 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 --- src/ipaccess/ipaccess-config.c | 4 ++-- 1 file 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"); -- cgit v1.2.3