Bug 838743
Summary: | [RFE] Enhancement to the Corosync logging for the CPG system | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Platform RFE <platform-rfe> | ||||||
Component: | corosync | Assignee: | Jan Friesse <jfriesse> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Cluster QE <mspqa-list> | ||||||
Severity: | low | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 6.4 | CC: | jkortus, sdake | ||||||
Target Milestone: | rc | Keywords: | FutureFeature, Triaged | ||||||
Target Release: | 6.4 | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | corosync-1.4.1-11.el6 | Doc Type: | Enhancement | ||||||
Doc Text: |
Cause
Ability to filter corosync flow messages
Consequence
Debugging of custom applications (using for example CPG) was hard.
Change
Added new level of debugging, trace. Lifecycle messages are logged in debug level, but flow are now logged in new trace level.
Result
It is possible for customer to choose if need to see flow messages. Debugging on applications where important are lifecycle messages is now easier.
|
Story Points: | --- | ||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2013-02-21 07:50:34 UTC | Type: | --- | ||||||
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: | 757067, 840699 | ||||||||
Attachments: |
|
Comment 1
Platform RFE
2012-07-10 01:20:19 UTC
** Original comment by snagar ** Thank you for submitting this issue for consideration in Red Hat Enterprise Linux. This request will be considered in a future release of Red Hat Enterprise Linux. We are currently looking to deliver this in 6.4 Created attachment 616559 [details]
Add support for debug level trace in config file
Because logsys uses 3-bits for log level encoded in rec, it's impossible to add trace log level in clean way. Instead of that, we are using
recid of TRACE1 for trace messages. So if trace is allowed in
configuration file, we change old condition to log only LOGSYS_RECID_LOG
to log also LOGSYS_RECID_TRACE1.
Created attachment 616560 [details]
Move some totem and cpg messages to trace level
Messages which are flow messages, rather then lifecycle are now
logged in trace level.
with cman add: <logging debug="on" logfile_priority="debug" syslog_priority="debug"> <logging_daemon debug="trace" logfile_priority="debug" name="corosync" subsys="CPG" syslog_priority="debug"/> </logging> under cluster in cluster.conf. Messages were appearing/not appearing as described in /var/log/cluster/corosync.log. Marking as verified with corosync-1.4.1-12.el6.x86_64. 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/RHBA-2013-0497.html |