aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2013-06-04 16:31:18 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2017-12-01 03:37:43 +0100
commita6e8467e55af538ab89c442cefca2f9816d2b73d (patch)
tree78de7e90dcdd306554cbfe9c411273c8e1e1bbed
parent2085b6a51dd6ce752390f92342efc99e56fdda15 (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 d851181c7..7560a52cf 100644
--- a/include/osmocom/bsc/debug.h
+++ b/include/osmocom/bsc/debug.h
@@ -22,6 +22,7 @@ enum {
DMSC,
DMGCP,
DHO,
+ DHODEC,
DDB,
DREF,
DGPRS,
diff --git a/src/libcommon/debug.c b/src/libcommon/debug.c
index b3685e6d2..5fe36f76d 100644
--- a/src/libcommon/debug.c
+++ b/src/libcommon/debug.c
@@ -107,7 +107,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] = {