Bug 866677
Summary: | [RFE] Improved broker logging for expired messages | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise MRG | Reporter: | Jason Dillaman <jdillama> | ||||
Component: | qpid-cpp | Assignee: | Chuck Rolke <crolke> | ||||
Status: | CLOSED ERRATA | QA Contact: | Leonid Zhaldybin <lzhaldyb> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | Development | CC: | esammons, jross, lzhaldyb, mcressma | ||||
Target Milestone: | 2.3 | Keywords: | FutureFeature, Patch | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | qpid-cpp-0.18-4 | Doc Type: | Enhancement | ||||
Doc Text: |
Feature: Improved broker logging for expired messages
Reason: Messages that are expired by the queue cleaner are not logged as they used to be. Logging should include the queue name and the message properties.
Result (if any): Logging is moved to a common place in the source module so all expired messages receive the same logging treatment. The queue name and message properties are included in debug-level log entries.
|
Story Points: | --- | ||||
Clone Of: | |||||||
: | 1339449 (view as bug list) | Environment: | |||||
Last Closed: | 2013-03-06 18:52:16 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 698367, 1339449 | ||||||
Attachments: |
|
Description
Jason Dillaman
2012-10-15 20:51:42 UTC
Created attachment 627709 [details]
Proposed patch
Moved logging of expired messages to a common function to support log filtering and dumped the message properties of the expired message.
Tested on RHEL5.9 and RHEL6.3 (both i386 and x86_64). The broker logs messages expiration and the log contains queue name from which the expired message was deleted along with message's properties. Packages used for testing: RHEL5.9 python-qpid-0.18-4.el5 python-qpid-qmf-0.18-9.el5 qpid-cpp-client-0.18-10.el5 qpid-cpp-client-devel-0.18-10.el5 qpid-cpp-server-0.18-10.el5 qpid-cpp-server-devel-0.18-10.el5 qpid-qmf-0.18-9.el5 qpid-tools-0.18-7.el5 RHEL6.3 python-qpid-0.18-4.el6.noarch python-qpid-qmf-0.18-9.el6_3.i686 qpid-cpp-client-0.18-10.el6_3.i686 qpid-cpp-client-devel-0.18-10.el6_3.i686 qpid-cpp-server-0.18-10.el6_3.i686 qpid-cpp-server-devel-0.18-10.el6_3.i686 qpid-qmf-0.18-9.el6_3.i686 qpid-tools-0.18-7.el6_3.noarch -> VERIFIED Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2013-0561.html |