neels has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-mgw/+/35304?usp=email )

 (

5 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted 
one.
 )Change subject: tweak DEBUG log
......................................................................

tweak DEBUG log

Printing the debug log line a little later will include the MGCP verb
information.

Change-Id: Icb230cf4d623cdbc4ab52bd52d2a72525c0168c7
---
M src/libosmo-mgcp-client/mgcp_client_endpoint_fsm.c
1 file changed, 14 insertions(+), 2 deletions(-)

Approvals:
  pespin: Looks good to me, approved
  Jenkins Builder: Verified
  laforge: Looks good to me, approved




diff --git a/src/libosmo-mgcp-client/mgcp_client_endpoint_fsm.c 
b/src/libosmo-mgcp-client/mgcp_client_endpoint_fsm.c
index 6fbfa4d..f2ec7fd 100644
--- a/src/libosmo-mgcp-client/mgcp_client_endpoint_fsm.c
+++ b/src/libosmo-mgcp-client/mgcp_client_endpoint_fsm.c
@@ -718,11 +718,11 @@
        osmo_strlcpy(cleared_ci.mgcp_ci_str, ci->mgcp_ci_str, 
sizeof(cleared_ci.mgcp_ci_str));
        *ci = cleared_ci;

-       LOG_CI_VERB(ci, LOGL_DEBUG, "notify=%s\n", 
osmo_fsm_inst_name(ci->notify.fi));
-
        if (verb_info)
                ci->verb_info = *verb_info;

+       LOG_CI_VERB(ci, LOGL_DEBUG, "notify=%s\n", 
osmo_fsm_inst_name(ci->notify.fi));
+
        if (ep->endpoint[0]) {
                if (ci->verb_info.endpoint[0] && strcmp(ci->verb_info.endpoint, 
ep->endpoint))
                        LOG_CI(ci, LOGL_ERROR,

--
To view, visit https://gerrit.osmocom.org/c/osmo-mgw/+/35304?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: Icb230cf4d623cdbc4ab52bd52d2a72525c0168c7
Gerrit-Change-Number: 35304
Gerrit-PatchSet: 6
Gerrit-Owner: neels <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: neels <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to