verbose and debug command line options do not over ride the configuration file

Bug #1156877 reported by John Bresnahan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Invalid
Undecided
Davanum Srinivas (DIMS)

Bug Description

When glance-api is run with either --debug or --verbose, the options only have an effect if their corresponding values in the configuration are not set.

To recreate this add the line:

verbose = False

to glance-api.conf. Then run:

glance-api --verbose

and note that no INFO lines are logged. Now delete the 'verbose = False' line from the configuration file and again run:

glance-api --verbose

Notice that INFO is now logger. A similar thing happens with --debug.

I would expect the behavior to be that the command line overrides the configuration file.

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote :

John,

i am working on this at

https://bugs.launchpad.net/oslo/+bug/1155347

-- dims

Changed in glance:
assignee: nobody → Davanum Srinivas (DIMS) (dims-v)
status: New → Confirmed
Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote :

Not a bug, working as designed - please see notes in the review https://review.openstack.org/#/c/24851/

Changed in glance:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.