[PATCH] [MAMAC] Modification to the log level of several messages within mamaMsg_isFromInbox()


Adrienne Ambrose <AAmbrose@...>
 

TESTING -

Using attached test application the previous verison will log errors, and now the new version will log at level finest. 

 

 

From cddfb49afd15897c529f7f882ae4feb196dd69c4 Mon Sep 17 00:00:00 2001

From: A Ambrose <aambrose@...>

Date: Mon, 12 May 2014 12:20:33 +0100

Subject: [PATCH] Modification to the log level of several messages within

mamaMsg_isFromInbox() [OMAMA-256]

 

Signed-off-by: A Ambrose <aambrose@...>

---

mama/c_cpp/src/c/msg.c | 6 +++---

1 file changed, 3 insertions(+), 3 deletions(-)

 

diff --git a/mama/c_cpp/src/c/msg.c b/mama/c_cpp/src/c/msg.c

index 286fcad..5c60e12 100644

--- a/mama/c_cpp/src/c/msg.c

+++ b/mama/c_cpp/src/c/msg.c

@@ -3125,21 +3125,21 @@ mamaMsg_isFromInbox (const mamaMsg msg)

     mamaMsgImpl* impl = (mamaMsgImpl*)msg;

     if (!impl)

     {

-        mama_log (MAMA_LOG_LEVEL_ERROR,

+        mama_log (MAMA_LOG_LEVEL_FINEST,

                   "mamaMsg_isFromInbox(): NULL message.");

         return 0;

     }

     if (!impl->mBridgeImpl)

     {

-        mama_log (MAMA_LOG_LEVEL_ERROR,

+        mama_log (MAMA_LOG_LEVEL_FINEST,

                  "mamaMsg_isFromInbox(): NULL bridge.");

         return 0;

     }

     if (!impl->mBridgeMessage)

     {

-        mama_log (MAMA_LOG_LEVEL_ERROR,

+        mama_log (MAMA_LOG_LEVEL_FINEST,

                   "mamaMsg_isFromInbox(): NULL bridge message");

         return 0;

     }

--

1.8.3.1

 


This message may contain confidential information and is intended for specific recipients unless explicitly noted otherwise. If you have reason to believe you are not an intended recipient of this message, please delete it and notify the sender. This message may not represent the opinion of IntercontinentalExchange Group, Inc. (ICE), NYSE Euronext or any of their subsidiaries or affiliates, and does not constitute a contract or guarantee. Unencrypted electronic mail is not secure and the recipient of this message is expected to provide safeguards from viruses and pursue alternate means of communication where privacy or a binding message is desired.