Comment 5 for bug 1643463

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to magnum (master)

Reviewed: https://review.openstack.org/416455
Committed: https://git.openstack.org/cgit/openstack/magnum/commit/?id=2ee054c1f5f5cd48f007b51c600133cbad376da5
Submitter: Jenkins
Branch: master

commit 2ee054c1f5f5cd48f007b51c600133cbad376da5
Author: melissaml <ma.lei@99cloud.net>
Date: Wed Jan 4 15:11:33 2017 +0800

    Modify variable's using method in Log Messages

    String interpolation should be delayed to be handled by the logging code,
    rather than being done at the point of the logging call.
    Ref:http://docs.openstack.org/developer/oslo.i18n/guidelines.html#log-translation
    For example:
    LOG.info(_LI('some message: variable=%s') % variable)
    LOG.info(_LI('some message: variable=%s'), variable)

    Change-Id: Ifaf1dfe589615732e412c4e640cf46679abc9023
    Closes-Bug: #1643463