| Summary: | Support log category exclusion | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | ranjith ruban <rruban> | |
| Component: | qpid-cpp | Assignee: | Chuck Rolke <crolke> | |
| Status: | CLOSED ERRATA | QA Contact: | Petra Svobodová <psvobodo> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 2.2 | CC: | freznice, iboverma, jross, lzhaldyb, psvobodo, rpiddapa | |
| Target Milestone: | 3.0 | Keywords: | FutureFeature, Triaged | |
| Target Release: | --- | |||
| Hardware: | All | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| 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.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 957975 (view as bug list) | Environment: | ||
| Last Closed: | 2014-09-24 15:04:05 UTC | Type: | --- | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Bug Depends On: | ||||
| Bug Blocks: | 957975 | |||
|
Comment 1
Justin Ross
2012-12-07 14:51:55 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. 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. This is available upstream on trunk at r1476409. http://svn.apache.org/viewvc?view=revision&revision=r1476409 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 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 |