Neels Hofmeyr has uploaded this change for review. ( 
https://gerrit.osmocom.org/12407


Change subject: mgcp_client: tweak some log levels INFO -> {DEBUG,ERROR}
......................................................................

mgcp_client: tweak some log levels INFO -> {DEBUG,ERROR}

Change-Id: Ie4ecb4b82a7a1e476c58d0a6056525733254adbb
---
M src/libosmo-mgcp-client/mgcp_client.c
1 file changed, 4 insertions(+), 4 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/07/12407/1

diff --git a/src/libosmo-mgcp-client/mgcp_client.c 
b/src/libosmo-mgcp-client/mgcp_client.c
index c821510..b36f5ed 100644
--- a/src/libosmo-mgcp-client/mgcp_client.c
+++ b/src/libosmo-mgcp-client/mgcp_client.c
@@ -205,7 +205,7 @@
        if (pending->response_cb)
                pending->response_cb(response, pending->priv);
        else
-               LOGP(DLMGCP, LOGL_INFO, "MGCP response ignored (NULL cb)\n");
+               LOGP(DLMGCP, LOGL_DEBUG, "MGCP response ignored (NULL cb)\n");
        talloc_free(pending);
 }

@@ -898,7 +898,7 @@
                msgb_free(msg);
                goto mgcp_tx_error;
        } else
-               LOGP(DLMGCP, LOGL_INFO, "Queued %u bytes for MGCP GW\n",
+               LOGP(DLMGCP, LOGL_DEBUG, "Queued %u bytes for MGCP GW\n",
                     msgb_l2len(msg));
        return 0;

@@ -922,10 +922,10 @@
        struct mgcp_response_pending *pending = 
mgcp_client_response_pending_get(mgcp, trans_id);
        if (!pending) {
                /*! Note: it is not harmful to cancel a transaction twice. */
-               LOGP(DLMGCP, LOGL_INFO, "Cannot cancel, no such transaction: 
%u\n", trans_id);
+               LOGP(DLMGCP, LOGL_ERROR, "Cannot cancel, no such transaction: 
%u\n", trans_id);
                return -ENOENT;
        }
-       LOGP(DLMGCP, LOGL_INFO, "Canceled transaction %u\n", trans_id);
+       LOGP(DLMGCP, LOGL_DEBUG, "Canceled transaction %u\n", trans_id);
        talloc_free(pending);
        return 0;
        /*! We don't really need to clean up the wqueue: In all sane cases, the 
msgb has already been sent

--
To view, visit https://gerrit.osmocom.org/12407
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie4ecb4b82a7a1e476c58d0a6056525733254adbb
Gerrit-Change-Number: 12407
Gerrit-PatchSet: 1
Gerrit-Owner: Neels Hofmeyr <[email protected]>

Reply via email to