diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2020-03-25 11:57:44 +0100 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2020-04-14 13:20:21 +0000 |
commit | 731683cd62eea0fe0631c5aa9634dc89f3ef3dac (patch) | |
tree | d214867d4e2673357f5ccf78cc1928bc76149586 /src/common | |
parent | 9974eb739a09ba717b9d85fa325437ae1b552e59 (diff) |
logging: use only LOGL_NOTICE as defualt loglevel
some of the log categories in logging.c are set to LOGL_INFO or even to
LOGL_DEBUG. This is too verbose. Lets set those categories to
LOGL_NOTICE. Also the BTS manager programs (...bts_mgr.c) use LOGL_INFO
by default. This should be set to LOGL_NOTICE as well
Related: OS#2577
Change-Id: I6e7a635f9b4a93529661dafc591d512d7b7e8c75
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/logging.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/common/logging.c b/src/common/logging.c index d4fb874a..50a5a1a3 100644 --- a/src/common/logging.c +++ b/src/common/logging.c @@ -35,13 +35,13 @@ static struct log_info_cat bts_log_info_cat[] = { .name = "DRSL", .description = "A-bis Radio Siganlling Link (RSL)", .color = "\033[1;35m", - .enabled = 1, .loglevel = LOGL_INFO, + .enabled = 1, .loglevel = LOGL_NOTICE, }, [DOML] = { .name = "DOML", .description = "A-bis Network Management / O&M (NM/OML)", .color = "\033[1;36m", - .enabled = 1, .loglevel = LOGL_INFO, + .enabled = 1, .loglevel = LOGL_NOTICE, }, [DRLL] = { .name = "DRLL", @@ -64,24 +64,24 @@ static struct log_info_cat bts_log_info_cat[] = { .name = "DPAG", .description = "Paging Subsystem", .color = "\033[1;38m", - .enabled = 1, .loglevel = LOGL_INFO, + .enabled = 1, .loglevel = LOGL_NOTICE, }, [DL1C] = { .name = "DL1C", .description = "Layer 1 Control (MPH)", - .loglevel = LOGL_INFO, + .loglevel = LOGL_NOTICE, .enabled = 1, }, [DL1P] = { .name = "DL1P", .description = "Layer 1 Primitives (PH)", - .loglevel = LOGL_INFO, + .loglevel = LOGL_NOTICE, .enabled = 0, }, [DDSP] = { .name = "DDSP", .description = "DSP Trace Messages", - .loglevel = LOGL_DEBUG, + .loglevel = LOGL_NOTICE, .enabled = 1, }, [DABIS] = { |