diff options
-rw-r--r-- | src/gprs_debug.cpp | 1 | ||||
-rw-r--r-- | src/gprs_debug.h | 1 | ||||
-rw-r--r-- | src/pcu_main.cpp | 1 | ||||
-rw-r--r-- | tests/tbf/TbfTest.cpp | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/src/gprs_debug.cpp b/src/gprs_debug.cpp index 6f9e310a..3d9b8163 100644 --- a/src/gprs_debug.cpp +++ b/src/gprs_debug.cpp @@ -41,6 +41,7 @@ static const struct log_info_cat default_categories[] = { {"DRLCMACUL", "\033[1;36m", "GPRS RLC/MAC layer Uplink (RLCMAC)", LOGL_NOTICE, 1}, {"DRLCMACSCHED", "\033[0;36m", "GPRS RLC/MAC layer Scheduling (RLCMAC)", LOGL_NOTICE, 1}, {"DRLCMACMEAS", "\033[1;31m", "GPRS RLC/MAC layer Measurements (RLCMAC)", LOGL_INFO, 1}, + {"DNS","\033[1;34m", "GPRS Network Service Protocol (NS)", LOGL_INFO , 1}, {"DBSSGP","\033[1;34m", "GPRS BSS Gateway Protocol (BSSGP)", LOGL_INFO , 1}, {"DPCU", "\033[1;35m", "GPRS Packet Control Unit (PCU)", LOGL_NOTICE, 1}, }; diff --git a/src/gprs_debug.h b/src/gprs_debug.h index 8b113a1b..963d841c 100644 --- a/src/gprs_debug.h +++ b/src/gprs_debug.h @@ -39,6 +39,7 @@ enum { DRLCMACUL, DRLCMACSCHED, DRLCMACMEAS, + DNS, DBSSGP, DPCU, aDebug_LastEntry 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); diff --git a/tests/tbf/TbfTest.cpp b/tests/tbf/TbfTest.cpp index 19895add..865081bd 100644 --- a/tests/tbf/TbfTest.cpp +++ b/tests/tbf/TbfTest.cpp @@ -654,6 +654,7 @@ static const struct log_info_cat default_categories[] = { {"DRLCMACUL", "\033[1;36m", "GPRS RLC/MAC layer Uplink (RLCMAC)", LOGL_DEBUG, 1}, {"DRLCMACSCHED", "\033[0;36m", "GPRS RLC/MAC layer Scheduling (RLCMAC)", LOGL_DEBUG, 1}, {"DRLCMACMEAS", "\033[1;31m", "GPRS RLC/MAC layer Measurements (RLCMAC)", LOGL_INFO, 1}, + {"DNS","\033[1;34m", "GPRS Network Service Protocol (NS)", LOGL_INFO , 1}, {"DBSSGP","\033[1;34m", "GPRS BSS Gateway Protocol (BSSGP)", LOGL_INFO , 1}, {"DPCU", "\033[1;35m", "GPRS Packet Control Unit (PCU)", LOGL_NOTICE, 1}, }; |