]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Make neutron.common.log.log print module path
authorAkihiro MOTOKI <motoki@da.jp.nec.com>
Fri, 6 Sep 2013 17:10:57 +0000 (02:10 +0900)
committerAkihiro MOTOKI <motoki@da.jp.nec.com>
Fri, 6 Sep 2013 17:10:57 +0000 (02:10 +0900)
commit155cb48bca9b66fa5188e5c1c63adf696cd6d127
tree3e99acf4bae90ef462f2aea97ecd2991778c20c9
parent1a25274e7acdb80993cff1974fbcdfb64dc26d24
Make neutron.common.log.log print module path

Closes-Bug: #1221663

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.

Change-Id: Ic2903da750cc13980d5cdee153bb079f7d4ee122
neutron/common/log.py
neutron/tests/unit/test_common_log.py [new file with mode: 0644]