From 450f5ac9105ffeccbebc52d9d61bbb1b0520cfad Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 14 Feb 2019 19:12:03 +0100 Subject: Enable remote SIM protocol log level It's defined in logging.h for quite some time but is not actually enabled alongside with other internal logging categories. Change-Id: I0e7a2add6293a072752900608c8ba34cc3850f31 --- src/logging.c | 5 +++++ tests/logging/logging_vty_test.vty | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/logging.c b/src/logging.c index 2bb53ae6..09021e42 100644 --- a/src/logging.c +++ b/src/logging.c @@ -169,6 +169,11 @@ static const struct log_info_cat internal_cat[OSMO_NUM_DLIB] = { .description = "libosmo-netif Jitter Buffer", .enabled = 1, .loglevel = LOGL_NOTICE, }, + [INT2IDX(DLRSPRO)] = { + .name = "DLRSPRO", + .description = "Remote SIM protocol", + .enabled = 1, .loglevel = LOGL_NOTICE, + }, }; void assert_loginfo(const char *src) diff --git a/tests/logging/logging_vty_test.vty b/tests/logging/logging_vty_test.vty index b1909271..895d2bc1 100644 --- a/tests/logging/logging_vty_test.vty +++ b/tests/logging/logging_vty_test.vty @@ -53,7 +53,7 @@ logging_vty_test# list logging print level (0|1) logging print file (0|1|basename) [last] logging set-log-mask MASK - logging level (aa|bb|ccc|dddd|eee|lglobal|llapd|linp|lmux|lmi|lmib|lsms|lctrl|lgtp|lstats|lgsup|loap|lss7|lsccp|lsua|lm3ua|lmgcp|ljibuf) (debug|info|notice|error|fatal) + logging level (aa|bb|ccc|dddd|eee|lglobal|llapd|linp|lmux|lmi|lmib|lsms|lctrl|lgtp|lstats|lgsup|loap|lss7|lsccp|lsua|lm3ua|lmgcp|ljibuf|lrspro) (debug|info|notice|error|fatal) logging level set-all (debug|info|notice|error|fatal) logging level force-all (debug|info|notice|error|fatal) no logging level force-all -- cgit v1.2.3