← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1156877] Re: verbose and debug command line options do not over ride the configuration file

 

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

** Changed in: glance
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1156877

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

Status in OpenStack Image Registry and Delivery Service (Glance):
  Invalid

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1156877/+subscriptions