yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #26388
[Bug 1404788] [NEW] Should use lazy logging interpolation
Public bug reported:
There are a small number of examples of "eager" interpolation in
neutron:
logging.debug("foo %s" % arg)
These should be converted to perform the interpolation lazily within
the logging function, since if the severity is below the logging level
then the interpolation can be skipped entirely.
This bug is a grab bag of all such current examples found in neutron
via a pylint test.
** Affects: neutron
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1404788
Title:
Should use lazy logging interpolation
Status in OpenStack Neutron (virtual network service):
New
Bug description:
There are a small number of examples of "eager" interpolation in
neutron:
logging.debug("foo %s" % arg)
These should be converted to perform the interpolation lazily within
the logging function, since if the severity is below the logging level
then the interpolation can be skipped entirely.
This bug is a grab bag of all such current examples found in neutron
via a pylint test.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1404788/+subscriptions
Follow ups
References