Bug 657398 - [RFE] Provide mechanism to alter brokers logging level at runtime
Summary: [RFE] Provide mechanism to alter brokers logging level at runtime
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: 1.3
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: 2.0
: ---
Assignee: Gordon Sim
QA Contact: Petr Matousek
URL:
Whiteboard:
Depends On: 683595
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-25 18:04 UTC by Gordon Sim
Modified: 2011-06-23 15:48 UTC (History)
7 users (show)

Fixed In Version: qpid-cpp-mrg-0.9.1073306-1
Doc Type: Enhancement
Doc Text:
Cause: Sometimes it is useful to get finer grained logging to troubleshoot some problem, however the volume of logging that may be generated if left at that level can be burdensome. Consequence: There was previously no way to alter the log level without restarting the broker. This made troubleshooting and diagnosing issues harder. Change: A management method was added allowing the logging to be reconfigured at runtime without restarting the broker. Result: Can now turn up logging to investigate a problem and restore it to previous levels after the issue has been uncovered to prevent excessive logs. Release Note Entry: Previously, the level of logging being done could not be altered at runtime without restarting the broker. A management method is now used to allow the user to change the level of logging while the program run without requiring a restart. This allows users to get detailed logs during troubleshooting and return to normal logging settings to prevent excessive logs.
Clone Of:
Environment:
Last Closed: 2011-06-23 15:48:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2011:0890 0 normal SHIPPED_LIVE Red Hat Enterprise MRG Messaging 2.0 Release 2011-06-23 15:42:41 UTC

Description Gordon Sim 2010-11-25 18:04:22 UTC
I.e. alter which log statements get emited without restarting the broker.

Comment 2 Gordon Sim 2010-12-02 13:50:36 UTC
See also https://issues.apache.org/jira/browse/QPID-2966 upstream.

Comment 3 Gordon Sim 2010-12-10 15:42:33 UTC
Fixed upstream by http://svn.apache.org/viewvc?rev=1044248&view=rev (http://svn.apache.org/viewvc?rev=1044308&view=rev provides extra check in automated test).

Comment 7 Gordon Sim 2011-03-07 13:38:40 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cause:
Sometimes it is useful to get finer grained logging to troubleshoot some problem, however the volume of logging that may be generated if left at that level can be burdensome.

Consequence:
There was previously no way to alter the log level without restarting the broker. This made troubleshooting and diagnosing issues harder.

Change:
A management method was added allowing the logging to be reconfigured at runtime without restarting the broker.

Result:
Can now turn up logging to investigate a problem and restore it to previous levels after the issue has been uncovered to prevent excessive logs.

Comment 8 Petr Matousek 2011-03-16 10:27:31 UTC
The issue has been implemented

Verified on RHEL4.9, RHEL5.6 and RHEL6.1, architectures: i386, x86_64

python-qpid-0.9.1079482-1.el5
python-qpid-qmf-0.9.1079953-3.el5
qpid-cpp-client-0.9.1079953-1.el5
qpid-cpp-client-devel-0.9.1079953-1.el5
qpid-cpp-client-devel-docs-0.9.1079953-1.el5
qpid-cpp-client-ssl-0.9.1079953-1.el5
qpid-cpp-mrg-debuginfo-0.9.1079953-1.el5
qpid-cpp-server-0.9.1079953-1.el5
qpid-cpp-server-cluster-0.9.1079953-1.el5
qpid-cpp-server-devel-0.9.1079953-1.el5
qpid-cpp-server-ssl-0.9.1079953-1.el5
qpid-cpp-server-store-0.9.1079953-1.el5
qpid-cpp-server-xml-0.9.1079953-1.el5
qpid-java-client-0.9.1080013-2.el5
qpid-java-common-0.9.1080013-2.el5
qpid-java-example-0.9.1080013-2.el5
qpid-qmf-0.9.1079953-3.el5
qpid-qmf-devel-0.9.1079953-3.el5
qpid-tools-0.9.1078967-1.el5

VERIFIED

Comment 9 Misha H. Ali 2011-05-31 06:39:29 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -8,4 +8,8 @@
 A management method was added allowing the logging to be reconfigured at runtime without restarting the broker.
 
 Result:
-Can now turn up logging to investigate a problem and restore it to previous levels after the issue has been uncovered to prevent excessive logs.+Can now turn up logging to investigate a problem and restore it to previous levels after the issue has been uncovered to prevent excessive logs.
+
+Release Note Entry:
+
+Previously, the level of logging being done could not be altered at runtime without restarting the broker. A management method is now used to allow the user to change the level of logging while the program run without requiring a restart. This allows users to get detailed logs during troubleshooting and return to normal logging settings to prevent excessive logs.

Comment 10 Misha H. Ali 2011-06-06 03:16:12 UTC
Technical note can be viewed in the release notes for 2.0 at the documentation stage here:

http://documentation-stage.bne.redhat.com/docs/en-US/Red_Hat_Enterprise_MRG/2.0/html-single/MRG_Release_Notes/index.html#tabl-MRG_Release_Notes-RHM_Update_Notes-RHM_Update_Notes

Comment 11 errata-xmlrpc 2011-06-23 15:48:23 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2011-0890.html


Note You need to log in before you can comment on or make changes to this bug.