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-12 03:28:14 +0100
commit1fc370ad42fbd382d1898b8617c03d604cd8915a (patch)
treea45d734513caa0f8c37df47587e0df7df5026f8e
parent6997abb110777709e9c25d9f207ca675caef062f (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] = {