Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 514751

Summary: QMF agent logging to file, no stdout
Product: Red Hat Enterprise MRG Reporter: Matthew Farrellee <matt>
Component: qpid-qmfAssignee: Ted Ross <tross>
Status: CLOSED ERRATA QA Contact: Jan Sarenik <jsarenik>
Severity: medium Docs Contact:
Priority: urgent    
Version: 1.1.1CC: iboverma, jsarenik, tross
Target Milestone: 1.3   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously, a number of log messages produced by the QMF C++ Agent were output to the standard output only. With this update, these messages can also be logged into a file.
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-14 16:02:01 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:

Description Matthew Farrellee 2009-07-30 16:13:50 UTC
Description of problem:

A number of log messages are only emitted to stdout by the QMF C++ Agent. For example, id collisions, or messages when  the appropriate environmental debug configuration is enabled.

Expected results:

It is desirable to have a file based log for these messages, especially when the agent is embedded in a service - such as all the Condor daemons.

Comment 3 Ted Ross 2009-12-21 18:29:49 UTC
This was fixed upstream at r727265 - "Converted output to cout to proper QPID_LOG statements."

Comment 4 Jan Sarenik 2010-03-31 10:42:49 UTC
I have read the source code change in r727265. It is ok.
There are no other calls to function cout under directory
qpid/cpp/src/qpid/agent/

Comment 6 Jan Sarenik 2010-05-26 12:03:27 UTC
Can you please give me a hint on how to verify this bug, or an approval that checking the source code was enough?

Comment 7 Ted Ross 2010-05-26 12:25:03 UTC
I think it's sufficient to verify this bug by determining that there are no uses of std::cout in the source (which there no longer are).

-Ted

Comment 8 Martin Prpič 2010-10-07 14:04:39 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:
Previously, a number of log messages produced by the QMF C++ Agent were output to the standard output only. With this update, these messages are logged in a file.

Comment 9 Martin Prpič 2010-10-08 11:57:06 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:
@@ -1 +1 @@
-Previously, a number of log messages produced by the QMF C++ Agent were output to the standard output only. With this update, these messages are logged in a file.+Previously, a number of log messages produced by the QMF C++ Agent were output to the standard output only. With this update, these messages can also be logged into a file.

Comment 11 errata-xmlrpc 2010-10-14 16:02:01 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/RHSA-2010-0773.html