diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2013-06-30 09:17:57 +0200 |
---|---|---|
committer | Andreas Eversberg <jolly@eversberg.eu> | 2013-06-30 09:17:57 +0200 |
commit | 65d589bb24dd2f0494f5d791046d6ce63829e49b (patch) | |
tree | bec468f2fd094155ef89987937da52e1b210ea0b | |
parent | 047a1a5e39a4a2ad016eb0f389fd7551f002bd2d (diff) |
Set debug level for CSN1 to ERROR
This is a workarround. It would be better to:
1. Actually do not save disabled log categories to config
Libosmocore saves all disabled log categories (see config_write_log_single).
This will cause these categories to be enabled after parsing config.
2. Change all CSN1 debug levels to DEBUG.
-rw-r--r-- | src/gprs_debug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gprs_debug.cpp b/src/gprs_debug.cpp index cbaf103d..1b9677e6 100644 --- a/src/gprs_debug.cpp +++ b/src/gprs_debug.cpp @@ -33,7 +33,7 @@ /* default categories */ static const struct log_info_cat default_categories[] = { - {"DCSN1", "\033[1;31m", "Concrete Syntax Notation One (CSN1)", LOGL_INFO, 0}, + {"DCSN1", "\033[1;31m", "Concrete Syntax Notation One (CSN1)", LOGL_ERROR, 0}, {"DL1IF", "\033[1;32m", "GPRS PCU L1 interface (L1IF)", LOGL_INFO, 1}, {"DRLCMAC", "\033[0;33m", "GPRS RLC/MAC layer (RLCMAC)", LOGL_NOTICE, 1}, {"DRLCMACDATA", "\033[0;33m", "GPRS RLC/MAC layer Data (RLCMAC)", LOGL_NOTICE, 1}, |