aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcu_main.cpp
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-08-17 14:06:21 +0200
committerJacob Erlbeck <jerlbeck@sysmocom.de>2015-08-17 16:24:11 +0200
commit56af6d55ed50c34d28e49c16f7c00da5820d22f3 (patch)
tree6ca32147cc2b1c406d1c0e1076e5c7fd726d1fcd /src/pcu_main.cpp
parentf76fedeed5bb52f5ee471b2cabc9fb7aa0c4ccf8 (diff)
ns: Add logging support
Currently there is not support for Network Service (NS) logging. This commit adds the missing definitions and sets the default level to INFO. Further configuration can now be done with the 'logging level ns' VTY command. Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/pcu_main.cpp')
-rw-r--r--src/pcu_main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pcu_main.cpp b/src/pcu_main.cpp
index 0cbced89..ed512120 100644
--- a/src/pcu_main.cpp
+++ b/src/pcu_main.cpp
@@ -194,6 +194,7 @@ int main(int argc, char *argv[])
msgb_set_talloc_ctx(tall_pcu_ctx);
osmo_init_logging(&gprs_log_info);
+ gprs_ns_set_log_ss(DNS);
bssgp_set_log_ss(DBSSGP);
vty_init(&pcu_vty_info);