Bug 451079

Summary: qpidd service does no logging by default
Product: Red Hat Enterprise MRG Reporter: Alan Conway <aconway>
Component: qpid-cppAssignee: Alan Conway <aconway>
Status: CLOSED CURRENTRELEASE QA Contact: Kim van der Riet <kim.vdriet>
Severity: medium Docs Contact:
Priority: medium    
Version: beta   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-12-02 16:06:32 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 Alan Conway 2008-06-12 17:47:21 UTC
Description of problem:

When started as a service qpidd  does no logging by default.

Possible solutions:
 - release note it, explain how to enable in qpidd.conf with log-output=syslog
 - add log-output=syslog to default qpidd.conf
 - modify qpidd code so it logs to syslog by default if started in daemon mode,
to stderr oterwise.

Comment 1 Gordon Sim 2008-06-12 17:51:40 UTC
Or my own personal favourite: 
 - add --log-output syslog to the qpidd init script

Comment 2 Alan Conway 2008-06-12 19:08:59 UTC
Issues with some approaches.

 - add --log-output syslog to the qpidd init script

This over-rides the config file and makes it impossible to configure the
init-script launched qpidd NOT to log to syslog unless you edit the init script.  

 - add log-output=syslog to default /etc/qpidd.conf
This makes syslog and not stderr the default for everyone. Not developer friendly.

Comment 3 Alan Conway 2008-06-12 22:00:45 UTC
Fixed qpidd to default to syslog in --daemon mode.
Revision: 667253

Comment 4 Mike Bonnet 2008-06-20 03:53:41 UTC
qpidc-0.2.667603-1.el5, qpidc-perftest-0.2.667603-1.el5, qpidd-0.2.667603-1.el5, and rhm-0.2.2153-1.el5 have been pushed to the staging repo for testing