Bug 797092 - Support log category exclusion
Summary: Support log category exclusion
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: 2.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: 3.0
: ---
Assignee: Chuck Rolke
QA Contact: Petra Svobodová
URL:
Whiteboard:
Depends On:
Blocks: 957975
TreeView+ depends on / blocked
 
Reported: 2012-02-24 09:08 UTC by ranjith ruban
Modified: 2018-12-02 19:21 UTC (History)
6 users (show)

Fixed In Version: qpid-cpp-0.22-4.el6, qpid-cpp-0.22-4.el5
Doc Type: Enhancement
Doc Text:
Logs are sometimes flooded by thousands of log messages that may not be considered important during issue investigation. It is now possible to specify a broker option that turns off log messages using precise filters. During problem investigation, users can control log file content to better understand a specific issue, rather than manually filtering out extraneous log events. The feature is supported in the C++ Broker, by specifying --log-disable.
Clone Of:
: 957975 (view as bug list)
Environment:
Last Closed: 2014-09-24 15:04:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Apache JIRA QPID-4651 0 None None None Never
Red Hat Product Errata RHEA-2014:1296 0 normal SHIPPED_LIVE Red Hat Enterprise MRG Messaging 3.0 Release 2014-09-24 19:00:06 UTC

Comment 1 Justin Ross 2012-12-07 14:51:55 UTC
Chuck, is this now possible with 0.18?

Comment 3 Chuck Rolke 2012-12-07 15:33:20 UTC
It is possible indirectly. Instead of "filtering out" QMF messages the user can "filter on" everything but QMF messages. That is accomplished by a series of "--log-enable debug+:<class>" log filters that name all the classes except Management.

Comment 4 Justin Ross 2012-12-07 15:49:03 UTC
Okay, let's treat this one as an RFE for opting out of (versus the existing "opt in to") a set of classes.

(In reply to comment #3)
> It is possible indirectly. Instead of "filtering out" QMF messages the user
> can "filter on" everything but QMF messages. That is accomplished by a
> series of "--log-enable debug+:<class>" log filters that name all the
> classes except Management.

Comment 6 Chuck Rolke 2013-04-29 18:55:41 UTC
This is available upstream on trunk at r1476409.
http://svn.apache.org/viewvc?view=revision&revision=r1476409

Comment 11 Petra Svobodová 2014-02-06 10:13:45 UTC
Filter out log messages are possible through disabling one or more log levels or sending entities in broker logging, performed by "--log-disable <rule>:<pattern>" option. 

Verified on qpid-cpp-0.22-33 on Rhel6.5-i686 and Rhel6.5-x86_64.

--> VERIFIED

Comment 13 errata-xmlrpc 2014-09-24 15:04:05 UTC
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/RHEA-2014-1296.html


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