aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2013-06-04 16:31:18 +0200
committerAndreas Eversberg <jolly@eversberg.eu>2013-07-29 12:44:38 +0200
commit651de31ab94418c694a85fe35f8ed10ea9726a81 (patch)
tree18f0c55c58466bc344a5a776a38036a8b0033709
parent66d7ef8a1fab715ed7254c7ffb4e032a9aba6f3b (diff)
HO: Add handover decision debugging category
-rw-r--r--openbsc/include/openbsc/debug.h1
-rw-r--r--openbsc/src/libcommon/debug.c9
2 files changed, 9 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/debug.h b/openbsc/include/openbsc/debug.h
index d851181c7..7560a52cf 100644
--- a/openbsc/include/openbsc/debug.h
+++ b/openbsc/include/openbsc/debug.h
@@ -22,6 +22,7 @@ enum {
DMSC,
DMGCP,
DHO,
+ DHODEC,
DDB,
DREF,
DGPRS,
diff --git a/openbsc/src/libcommon/debug.c b/openbsc/src/libcommon/debug.c
index b3685e6d2..5fe36f76d 100644
--- a/openbsc/src/libcommon/debug.c
+++ b/openbsc/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] = {