aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-02-09 01:49:01 +0100
committerHarald Welte <laforge@gnumonks.org>2018-02-09 02:22:22 +0100
commit1f477442dd508a01d8d6bc64e9ed593ba5fddb3f (patch)
treeee45c73c3e4a44393f8bc5e7e26a773f5b1f3314 /include
parentc9e785931113483f4a1588bc9136e96ca36a629b (diff)
Introduce new BSSAP logging category/subsystem
Having all BSSAP related logs in the "DMSC" category is overly generic, and dosn't provide useful granularity. Change-Id: Id1e52dad03840dfd026fb23f3845a8771c8cc308
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/msc/a_iface.h4
-rw-r--r--include/osmocom/msc/debug.h1
2 files changed, 3 insertions, 2 deletions
diff --git a/include/osmocom/msc/a_iface.h b/include/osmocom/msc/a_iface.h
index 9133e1b6b..3098b514d 100644
--- a/include/osmocom/msc/a_iface.h
+++ b/include/osmocom/msc/a_iface.h
@@ -26,12 +26,12 @@
#include <osmocom/gsm/protocol/gsm_08_08.h>
#define LOGPCONN(conn, level, fmt, args...) \
- LOGP(DMSC, level, "(subscr %s, conn_id %d) " fmt, \
+ LOGP(DBSSAP, level, "(subscr %s, conn_id %d) " fmt, \
vlr_subscr_name(conn ? conn->vsub : NULL), conn ? conn->a.conn_id : -1, \
## args)
#define LOGPBSCCONN(conn, level, fmt, args...) \
- LOGP(DMSC, level, "(conn_id %u) " fmt, conn ? conn->conn_id : (uint32_t)(-1), ## args)
+ LOGP(DBSSAP, level, "(conn_id %u) " fmt, conn ? conn->conn_id : (uint32_t)(-1), ## args)
/* A struct to keep a context information about the BSCs we are associated with */
struct bsc_context {
diff --git a/include/osmocom/msc/debug.h b/include/osmocom/msc/debug.h
index f99dba57b..384453e78 100644
--- a/include/osmocom/msc/debug.h
+++ b/include/osmocom/msc/debug.h
@@ -24,6 +24,7 @@ enum {
DRANAP,
DVLR,
DIUCS,
+ DBSSAP,
Debug_LastEntry,
};