pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-mgw/+/29639 )
Change subject: osmux: Change couple log lines to OSMUX category ......................................................................
osmux: Change couple log lines to OSMUX category
Change-Id: Ia04d08099f0b1e81707699d872779108f22522bf --- M src/libosmo-mgcp/mgcp_protocol.c 1 file changed, 3 insertions(+), 2 deletions(-)
Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved fixeria: Looks good to me, but someone else must approve
diff --git a/src/libosmo-mgcp/mgcp_protocol.c b/src/libosmo-mgcp/mgcp_protocol.c index 46e1d6b..67a185a 100644 --- a/src/libosmo-mgcp/mgcp_protocol.c +++ b/src/libosmo-mgcp/mgcp_protocol.c @@ -47,6 +47,7 @@ #include <osmocom/mgcp/mgcp_codec.h> #include <osmocom/mgcp/mgcp_conn.h> #include <osmocom/mgcp/mgcp_iuup.h> +#include <osmocom/mgcp/debug.h>
/* Contains the last successfully resolved endpoint name. This variable is used * for the unit-tests to verify that the endpoint was correctly resolved. */ @@ -741,10 +742,10 @@ { if (!endp->trunk->cfg->osmux_initialized) { if (osmux_init(OSMUX_ROLE_BSC, endp->trunk) < 0) { - LOGPENDP(endp, DLMGCP, LOGL_ERROR, "Cannot init OSMUX\n"); + LOGPENDP(endp, DOSMUX, LOGL_ERROR, "Cannot init OSMUX\n"); return -3; } - LOGPENDP(endp, DLMGCP, LOGL_NOTICE, "OSMUX socket has been set up\n"); + LOGPENDP(endp, DOSMUX, LOGL_NOTICE, "OSMUX socket has been set up\n"); }
return mgcp_parse_osmux_cid(line);