Formatting could and should be deferred until logs are emitted.
Boden Russell found a bug where bad formatting practice resulted in
a developer calling format() on the output of a gettextutils call.
Here, we standardize the debugging output in a saner, cleaner way as
recommended by Doug Hellmann.
Reviewed: https:/ /review. openstack. org/128376 /git.openstack. org/cgit/ stackforge/ nova-docker/ commit/ ?id=7c2f3c9ebb5 6974a453a6d7c34 f0a2f0c98f4658
Committed: https:/
Submitter: Jenkins
Branch: master
commit 7c2f3c9ebb56974 a453a6d7c34f0a2 f0c98f4658
Author: Davanum Srinivas <email address hidden>
Date: Thu Oct 23 08:43:48 2014 -0400
Fix LOG formatting and defer until emit
Formatting could and should be deferred until logs are emitted.
Boden Russell found a bug where bad formatting practice resulted in
a developer calling format() on the output of a gettextutils call.
Here, we standardize the debugging output in a saner, cleaner way as
recommended by Doug Hellmann.
Closes-Bug: #1242820
Change-Id: I259a435466d394 c7d009f8ba2e976 713f3fb4343