diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-08-17 14:06:21 +0200 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-08-17 16:24:11 +0200 |
commit | 56af6d55ed50c34d28e49c16f7c00da5820d22f3 (patch) | |
tree | 6ca32147cc2b1c406d1c0e1076e5c7fd726d1fcd /src/gprs_debug.cpp | |
parent | f76fedeed5bb52f5ee471b2cabc9fb7aa0c4ccf8 (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/gprs_debug.cpp')
-rw-r--r-- | src/gprs_debug.cpp | 1 |
1 files changed, 1 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}, }; |