aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2019-02-14 19:12:03 +0100
committerMax <msuraev@sysmocom.de>2019-02-14 19:19:57 +0100
commit450f5ac9105ffeccbebc52d9d61bbb1b0520cfad (patch)
tree694c07848184d06db6d7859d28e3ca68d2657b16
parent6b4895ff53b0fe8880dadf7c8d759a63938bbb3e (diff)
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
-rw-r--r--src/logging.c5
-rw-r--r--tests/logging/logging_vty_test.vty2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/logging.c b/src/logging.c
index 2bb53ae..09021e4 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 b190927..895d2bc 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