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