aboutsummaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/logging.c15
-rw-r--r--src/common/oml.c3
2 files changed, 14 insertions, 4 deletions
diff --git a/src/common/logging.c b/src/common/logging.c
index bd7eb73a..04ca6567 100644
--- a/src/common/logging.c
+++ b/src/common/logging.c
@@ -31,17 +31,23 @@
#include <osmo-bts/logging.h>
static struct log_info_cat bts_log_info_cat[] = {
+ [DSUM] = {
+ .name = "DSUM",
+ .description = "Summary",
+ .color = "\033[1;37m",
+ .enabled = 1, .loglevel = LOGL_DEBUG,
+ },
[DRSL] = {
.name = "DRSL",
.description = "A-bis Radio Siganlling Link (RSL)",
.color = "\033[1;35m",
- .enabled = 1, .loglevel = LOGL_INFO,
+ .enabled = 1, .loglevel = LOGL_DEBUG,
},
- [DOML] = {
+ [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_DEBUG,
},
[DRLL] = {
.name = "DRLL",
@@ -70,6 +76,7 @@ static struct log_info_cat bts_log_info_cat[] = {
.name = "DL1C",
.description = "Layer 1",
.loglevel = LOGL_INFO,
+ .color = "\033[0;31m",
.enabled = 1,
},
[DL1P] = {
@@ -87,7 +94,7 @@ static struct log_info_cat bts_log_info_cat[] = {
[DABIS] = {
.name = "DABIS",
.description = "A-bis Intput Subsystem",
- .enabled = 1, .loglevel = LOGL_NOTICE,
+ .enabled = 1, .loglevel = LOGL_DEBUG,
},
[DRTP] = {
.name = "DRTP",
diff --git a/src/common/oml.c b/src/common/oml.c
index e0a6b418..722be335 100644
--- a/src/common/oml.c
+++ b/src/common/oml.c
@@ -264,9 +264,12 @@ int oml_mo_fom_ack_nack(struct gsm_abis_mo *mo, uint8_t orig_msg_type,
return -ENOMEM;
if (cause) {
+ LOGP(DOML, LOGL_NOTICE, "Sending FOM NACK with cause %s.\n",
+ abis_nm_nack_cause_name(cause));
new_msg_type = orig_msg_type + 2;
msgb_tv_put(msg, NM_ATT_NACK_CAUSES, cause);
} else {
+ LOGP(DOML, LOGL_DEBUG, "Sending FOM ACK.\n");
new_msg_type = orig_msg_type + 1;
}