diff options
author | Max <msuraev@sysmocom.de> | 2018-01-19 18:22:25 +0100 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2018-01-19 18:49:16 +0100 |
commit | 0524e38d9ea519898a61256389c3a7277410ccb8 (patch) | |
tree | 09ddcf88cc0395a06d5fd2cf9655be5b1201c340 /src/gprs_debug.cpp | |
parent | d81b3bf36094320b90dba3d93c3e76bc9bb92959 (diff) |
TBF: add dedicated log categories
Previously all TBF-related events were logged as part of DRLCMAC which
is too broad to make it practically useful due to excessive amount of
log messages generated. Introduce dedicated log categories for
TBF-related events. Adjust test output as necessary.
Change-Id: I64d660e5971263d5c63d2ba95d50625c16a594aa
Diffstat (limited to 'src/gprs_debug.cpp')
-rw-r--r-- | src/gprs_debug.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gprs_debug.cpp b/src/gprs_debug.cpp index 283962fc..f1ae6ad6 100644 --- a/src/gprs_debug.cpp +++ b/src/gprs_debug.cpp @@ -32,6 +32,9 @@ 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}, + {"DTBF","\033[1;34m", "Temporary Block Flow (TBF)", LOGL_INFO , 1}, + {"DTBFDL","\033[1;34m", "Temporary Block Flow (TBF) Downlink", LOGL_INFO , 1}, + {"DTBFUL","\033[1;34m", "Temporary Block Flow (TBF) Uplink", 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}, |