Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 514751 - QMF agent logging to file, no stdout
QMF agent logging to file, no stdout
Status: CLOSED ERRATA
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-qmf (Show other bugs)
1.1.1
All Linux
urgent Severity medium
: 1.3
: ---
Assigned To: Ted Ross
Jan Sarenik
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-07-30 12:13 EDT by Matthew Farrellee
Modified: 2011-08-12 12:02 EDT (History)
3 users (show)

See Also:
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 12:02:01 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2010:0773 normal SHIPPED_LIVE Moderate: Red Hat Enterprise MRG Messaging and Grid Version 1.3 2010-10-14 11:56:44 EDT

  None (edit)
Description Matthew Farrellee 2009-07-30 12:13:50 EDT
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 13:29:49 EST
This was fixed upstream at r727265 - "Converted output to cout to proper QPID_LOG statements."
Comment 4 Jan Sarenik 2010-03-31 06:42:49 EDT
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 08:03:27 EDT
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 08:25:03 EDT
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 10:04:39 EDT
    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 07:57:06 EDT
    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 12:02:01 EDT
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

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