diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2017-11-23 11:33:23 +0100 |
---|---|---|
committer | Philipp Maier <pmaier@sysmocom.de> | 2017-12-01 13:36:30 +0100 |
commit | e941f88ea15ea374a72930fbdf1da10c73ea27d6 (patch) | |
tree | 9a2156a9780f14c5ca6c54cbb010718cbd99f718 | |
parent | 7eeb84271db9260cfa5cd177a0598d95eed686e4 (diff) |
cosmetic: add missing log prefix
the log messages have prefixes that mark important phases (CRCX/BTS,
etc...). Some lines lack the prefix.
Add missing prefixes.
Change-Id: Iea5ea9e54f4b5c998b1d5fe18a98a94abd7b728b
-rw-r--r-- | src/osmo-bsc/osmo_bsc_mgcp.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/osmo-bsc/osmo_bsc_mgcp.c b/src/osmo-bsc/osmo_bsc_mgcp.c index 67532123e..0c5d86be1 100644 --- a/src/osmo-bsc/osmo_bsc_mgcp.c +++ b/src/osmo-bsc/osmo_bsc_mgcp.c @@ -193,7 +193,7 @@ static void fsm_crcx_bts_cb(struct osmo_fsm_inst *fi, uint32_t event, void *data mgcp_ctx->rtp_endpoint = rtp_endpoint; LOGPFSML(mgcp_ctx->fsm, LOGL_DEBUG, - "creating connection for the BTS side on " "MGW endpoint:%x...\n", rtp_endpoint); + "CRCX/BTS: creating connection for the BTS side on " "MGW endpoint:%x...\n", rtp_endpoint); /* Generate MGCP message string */ mgcp_msg = (struct mgcp_msg) { @@ -351,11 +351,11 @@ static void fsm_mdcx_bts_cb(struct osmo_fsm_inst *fi, uint32_t event, void *data rtp_endpoint = mgcp_ctx->rtp_endpoint; LOGPFSML(mgcp_ctx->fsm, LOGL_DEBUG, - "completing connection for the BTS side on " "MGW endpoint:%x...\n", rtp_endpoint); + "MDCX/BTS: completing connection for the BTS side on " "MGW endpoint:%x...\n", rtp_endpoint); addr.s_addr = osmo_ntohl(lchan->abis_ip.bound_ip); LOGPFSML(mgcp_ctx->fsm, LOGL_DEBUG, - "BTS expects RTP input on address %s:%u\n", inet_ntoa(addr), lchan->abis_ip.bound_port); + "MDCX/BTS: BTS expects RTP input on address %s:%u\n", inet_ntoa(addr), lchan->abis_ip.bound_port); /* Generate MGCP message string */ mgcp_msg = (struct mgcp_msg) { @@ -467,7 +467,7 @@ static void fsm_crcx_net_cb(struct osmo_fsm_inst *fi, uint32_t event, void *data rtp_endpoint = mgcp_ctx->rtp_endpoint; LOGPFSML(mgcp_ctx->fsm, LOGL_DEBUG, - "creating connection for the NET side on " "MGW endpoint:%x...\n", rtp_endpoint); + "CRCX/NET: creating connection for the NET side on " "MGW endpoint:%x...\n", rtp_endpoint); /* Currently we only have support for IPv4 in our MGCP software, the * AoIP part is ready to support IPv6 in theory, because the IE @@ -477,7 +477,7 @@ static void fsm_crcx_net_cb(struct osmo_fsm_inst *fi, uint32_t event, void *data * transport identifiers */ if (conn->aoip_rtp_addr_remote.ss_family != AF_INET) { LOGPFSML(mgcp_ctx->fsm, LOGL_ERROR, - "endpoint:%x MSC uses unsupported address format in AoIP transport identifier -- aborting...\n", + "CRCX/NET: endpoint:%x MSC uses unsupported address format in AoIP transport identifier -- aborting...\n", rtp_endpoint); handle_error(mgcp_ctx, MGCP_ERR_UNSUPP_ADDR_FMT); return; @@ -486,7 +486,7 @@ static void fsm_crcx_net_cb(struct osmo_fsm_inst *fi, uint32_t event, void *data sin = (struct sockaddr_in *)&conn->aoip_rtp_addr_remote; addr = inet_ntoa(sin->sin_addr); port = osmo_ntohs(sin->sin_port); - LOGPFSML(mgcp_ctx->fsm, LOGL_DEBUG, "MSC expects RTP input on address %s:%u\n", addr, port); + LOGPFSML(mgcp_ctx->fsm, LOGL_DEBUG, "CRCX/NET: MSC expects RTP input on address %s:%u\n", addr, port); /* Generate MGCP message string */ mgcp_msg = (struct mgcp_msg) { |