yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #52894
[Bug 1596829] [NEW] String interpolation should be delayed at logging calls
Public bug reported:
String interpolation should be delayed to be handled by the logging
code, rather than being done at the point of the logging call.
Wrong: LOG.debug('Example: %s' % 'bad')
Right: LOG.debug('Example: %s', 'good')
See the following guideline.
* http://docs.openstack.org/developer/oslo.i18n/guidelines.html#adding-
variables-to-log-messages
The rule for it should be added to hacking checks.
** Affects: nova
Importance: Undecided
Assignee: Takashi NATSUME (natsume-takashi)
Status: In Progress
** Changed in: nova
Assignee: (unassigned) => Takashi NATSUME (natsume-takashi)
** Changed in: nova
Status: New => In Progress
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1596829
Title:
String interpolation should be delayed at logging calls
Status in OpenStack Compute (nova):
In Progress
Bug description:
String interpolation should be delayed to be handled by the logging
code, rather than being done at the point of the logging call.
Wrong: LOG.debug('Example: %s' % 'bad')
Right: LOG.debug('Example: %s', 'good')
See the following guideline.
* http://docs.openstack.org/developer/oslo.i18n/guidelines.html
#adding-variables-to-log-messages
The rule for it should be added to hacking checks.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1596829/+subscriptions
Follow ups
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: Akihiro Motoki, 2018-02-28
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: Alexander Chadin, 2018-02-28
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: Sharat Sharma, 2017-09-25
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: hongbin, 2017-09-08
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: OpenStack Infra, 2017-07-24
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: LiChunlin, 2017-07-17
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: LiChunlin, 2017-07-17
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: Sean McGinnis, 2017-07-05
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: Sean McGinnis, 2017-07-05
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: Ngo Quoc Cuong, 2017-07-05
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: Ngo Quoc Cuong, 2017-07-05
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: Ngo Quoc Cuong, 2017-07-05
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: Ngo Quoc Cuong, 2017-07-05
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: OpenStack Infra, 2017-06-10
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: Vitaly Gridnev, 2017-05-15
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: Akihiro Motoki, 2017-04-01
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: OpenStack Infra, 2017-03-31
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: pawnesh kumar, 2017-03-29
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: Akihiro Motoki, 2017-03-28
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: huangtianhua, 2017-02-14
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: Thomas Herve, 2017-02-14
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: huangtianhua, 2017-02-14
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: OpenStack Infra, 2017-02-14
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: Thomas Herve, 2017-02-13
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: Gábor Antal, 2017-02-13
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: OpenStack Infra, 2017-02-08
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: Gábor Antal, 2017-02-07
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: Gábor Antal, 2017-02-07
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: gordon chung, 2016-12-05
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: OpenStack Infra, 2016-10-11
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: haobing1, 2016-09-01
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: haobing1, 2016-09-01
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: OpenStack Infra, 2016-08-10
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: OpenStack Infra, 2016-08-08
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: Kirill Zaitsev, 2016-08-08
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: Takashi NATSUME, 2016-08-08
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: OpenStack Infra, 2016-08-03
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: OpenStack Infra, 2016-08-02
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: Takashi NATSUME, 2016-08-02
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: Takashi NATSUME, 2016-08-02
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: LiuNanke, 2016-08-02
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: Steve Martinelli, 2016-08-02
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: OpenStack Infra, 2016-07-30
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: OpenStack Infra, 2016-07-27
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: Takashi NATSUME, 2016-07-26
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: OpenStack Infra, 2016-07-19
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: OpenStack Infra, 2016-07-16
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: haobing1, 2016-07-15
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: haobing1, 2016-07-15
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: OpenStack Infra, 2016-07-14
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: Aman Kumar, 2016-07-13
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: OpenStack Infra, 2016-07-12
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: Michal Dulko, 2016-07-12
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: OpenStack Infra, 2016-07-12
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: haobing1, 2016-07-12
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: haobing1, 2016-07-12
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: weiweigu, 2016-07-12
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: haobing1, 2016-07-12
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: weiweigu, 2016-07-12
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: weiweigu, 2016-07-12
-
[Bug 1596829] Re: String interpolation should be delayed at logging calls
From: Takashi NATSUME, 2016-07-07