aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2021-03-14 20:58:58 +0100
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2021-03-14 20:59:08 +0100
commit8de4be261d2fd7d9552926090a2c2b2ed71dcde8 (patch)
tree0398bf2a8ec78f9050e141522a52c0897b1c6746 /src
parent6fd19da165b2436e19b3713881169f2e0ad831a7 (diff)
main: resurrect removed 'ns' logging category as deprecated
This logging category has been removed completely in [1], and now osmo-sgsn fails to start with old configuration files: There is no such command. Error occurred during reading the below line: logging level ns info Let's accept it and print a deprecation warning. Change-Id: I2036170af41db89484c299e18e0b703c97427dc1 Fixes: [1] Ia4723ab344ad6a1927029a2d5d0dda020266b39d
Diffstat (limited to 'src')
-rw-r--r--src/sgsn/sgsn_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sgsn/sgsn_main.c b/src/sgsn/sgsn_main.c
index 97309ddd..71f2efad 100644
--- a/src/sgsn/sgsn_main.c
+++ b/src/sgsn/sgsn_main.c
@@ -405,6 +405,7 @@ int main(int argc, char **argv)
rate_ctr_init(tall_sgsn_ctx);
logging_vty_add_deprecated_subsys(tall_sgsn_ctx, "bssgp");
+ logging_vty_add_deprecated_subsys(tall_sgsn_ctx, "ns");
sgsn_nsi = gprs_ns2_instantiate(tall_sgsn_ctx, &gprs_ns_prim_cb, NULL);
if (!sgsn_nsi) {