Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Auto Closed
-
0.19
-
None
-
None
Description
In file cpp/src/broker/Queue.cpp (and probably elsewhere) log statements print facts about a message using the construct:
Message* msg = xxx;
QPID_LOG(debug, "The message " << msg << " needs logging");
At run time the log statement prints
2012-10-25 19:34:54 [Broker] critical The message 00E596E0 needs logging
I suspect that this is a detail left over from the 0.10-to-1.0 refactoring.
A reasonable message log would contain at least the message headers and possibly some number of message bytes.
Before the recent refactoring the headers could be obtained with:
*(msg->getProperties<MessageProperties>())
Now that same info needs some property accessors.