← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1221663] Re: neutron.common.log.log does not print module path

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

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

Title:
  neutron.common.log.log does not print module path

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  neutron.common.log.log is useful for logging arguments of a method.
  It outputs class name and method name, but module path is not output.

  A module path is useful to search the log message and it is better to
  contain a module path

  [Current]
  2013-09-06 17:00:22.021 25612 DEBUG neutron.common.log [-] StubOFCDriver method create_network called with arguments (u'ofc-f1c7f9f5691044f5b5d395d1a7c0', u'ID=8faea3be-66d5-4cbf-8631-810f491c6d0a Name=ext_net at Neutron.', '8faea3be-66d5-4cbf-8631-810f491c6d0a') {}  wrapper /opt/stack/neutron/neutron/common/log.py:33

  [Proposed]
  2013-09-06 17:00:22.021 25612 DEBUG neutron.common.log [-] neutron.tests.unit.nec.stub_ofc_driver.StubOFCDriver method create_network called with arguments (u'ofc-f1c7f9f5691044f5b5d395d1a7c0', u'ID=8faea3be-66d5-4cbf-8631-810f491c6d0a Name=ext_net at Neutron.', '8faea3be-66d5-4cbf-8631-810f491c6d0a') {}  wrapper /opt/stack/neutron/neutron/common/log.py:33

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