Bug 987498 - no warning for unsupported c++ client options in qpidc.conf
Summary: no warning for unsupported c++ client options in qpidc.conf
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: 3.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: mick
QA Contact: Messaging QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-23 14:06 UTC by Leonid Zhaldybin
Modified: 2020-11-04 19:18 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Leonid Zhaldybin 2013-07-23 14:06:32 UTC
Description of problem:
If some unsupported option is passed to the broker (either using qpidd.conf file or from the command line), the broker prints out the error message and does not start:

[root@lzhaldyb-rhel64i ~]# qpidd --foo bar
2013-07-23 16:02:18 [Broker] critical Unexpected error: Error in command line options: unknown option foo
Use --help to see valid options

However, if the unsupported option is added to the c++ client configuration file (/etc/qpid/qpidc.conf), there is no error or warning message. The client just ignores it silently.

Version-Release number of selected component (if applicable):
qpid-cpp-0.22-7

How reproducible:
100%

Steps to Reproduce:
1. Add some unsupported option to the c++ clients configuration file (f.e. "foo=bar").
2. Run a c++ client.
3.

Actual results:
The client does not print out any warning about the unsupported option in the configuration file, just ignores it silently.

Expected results:
The warning about the unsupported option in the configuration file should be printed out.

Additional info:


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