Comment 31 for bug 1596829

Reviewed: https://review.openstack.org/352178
Committed: https://git.openstack.org/cgit/openstack/congress/commit/?id=fb921a86d339a632e21404acb11eed735f9dab62
Submitter: Jenkins
Branch: master

commit fb921a86d339a632e21404acb11eed735f9dab62
Author: Takashi NATSUME <email address hidden>
Date: Mon Aug 8 10:01:55 2016 +0900

    Fix string interpolation at logging call

    Skip creating the formatted log message
    if the message is not going to be emitted
    because of the log level.

    See the oslo i18n guideline.

    * http://docs.openstack.org/developer/oslo.i18n/guidelines.html#\
      adding-variables-to-log-messages

    Change-Id: Ie9f3c9179cdae57ee298149f829811a5422fb9aa
    Closes-Bug: #1596829