← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1355565] [NEW] config argument to config.setup_logging is unused

 

Public bug reported:

In neutron/common/config.py, the argument to setup_logging is unused:

  def setup_logging(conf):
     product_name = "neutron"
     logging.setup(product_name)
     LOG.info(_("Logging enabled!"))

As a minor cleanup, we should remove the argument in the interests of
simpler code and avoiding confusion.

** Affects: neutron
     Importance: Undecided
     Assignee: Angus Lees (gus)
         Status: In Progress

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

Title:
  config argument to config.setup_logging is unused

Status in OpenStack Neutron (virtual network service):
  In Progress

Bug description:
  In neutron/common/config.py, the argument to setup_logging is unused:

    def setup_logging(conf):
       product_name = "neutron"
       logging.setup(product_name)
       LOG.info(_("Logging enabled!"))

  As a minor cleanup, we should remove the argument in the interests of
  simpler code and avoiding confusion.

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


Follow ups

References