verbose and debug command line options do not over ride the configuration file
Bug #1156877 reported by
John Bresnahan
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.
Changed in glance: | |
assignee: | nobody → Davanum Srinivas (DIMS) (dims-v) |
status: | New → Confirmed |
To post a comment you must log in.
John,
i am working on this at
https:/ /bugs.launchpad .net/oslo/ +bug/1155347
-- dims