aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2013-06-04 16:31:18 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2018-01-19 16:03:16 +0100
commit7df80d38f3ef98e7d16c5efdfd26ffad30562d21 (patch)
treebafacfbd3343b7b461dc73ee39ac3c93053d6f6b
parente0cba56daddac5f7bb30b8a736deb1a695a468bd (diff)
HO: Add handover decision debugging category
-rw-r--r--include/osmocom/bsc/debug.h1
-rw-r--r--src/libcommon/debug.c9
2 files changed, 9 insertions, 1 deletions
diff --git a/include/osmocom/bsc/debug.h b/include/osmocom/bsc/debug.h
index 65e197d52..131ae8a8b 100644
--- a/include/osmocom/bsc/debug.h
+++ b/include/osmocom/bsc/debug.h
@@ -21,6 +21,7 @@ enum {
DMSC,
DMGCP,
DHO,
+ DHODEC,
DDB,
DREF,
DGPRS,
diff --git a/src/libcommon/debug.c b/src/libcommon/debug.c
index 68fc5970b..b5a490ba9 100644
--- a/src/libcommon/debug.c
+++ b/src/libcommon/debug.c
@@ -106,7 +106,14 @@ static const struct log_info_cat default_categories[] = {
},
[DHO] = {
.name = "DHO",
- .description = "Hand-Over",
+ .description = "Hand-Over Process",
+ .color = "\033[1;38m",
+ .enabled = 1, .loglevel = LOGL_NOTICE,
+ },
+ [DHODEC] = {
+ .name = "DHODEC",
+ .description = "Hand-Over Decision",
+ .color = "\033[1;38m",
.enabled = 1, .loglevel = LOGL_NOTICE,
},
[DDB] = {