Commit Graph

3 Commits

Author SHA1 Message Date
Ngo Quoc Cuong f40363a8d0 Add log hacking rules
- [C312] Validate that logs are not translated. [1]
- [H904] Delay string interpolations at logging calls. [2]

[1]https://docs.openstack.org/oslo.i18n/latest/user/usage.html#creating-an-integration-module
[2]https://docs.openstack.org/oslo.i18n/latest/user/guidelines.html#adding-variables-to-log-messages

Change-Id: I940f4b9fb1baaad1f3761402bcaef9aea60c6d37
2017-07-07 05:28:17 -04:00
Tao Li 179d341ecd Remove log translations
Log messages are no longer being translated. This removes all use of the
_LE, _LI, and _LW translation markers to simplify logging and to avoid
confusion with new contributions. See:
http://lists.openstack.org/pipermail/openstack-i18n/2016-November/002574.html
http://lists.openstack.org/pipermail/openstack-dev/2017-March/113365.html

Change-Id: I1c77ab511ad9aa87372c66af8cd49f9b2c38e085
2017-03-22 12:07:59 +08:00
Hiroyuki Eguchi 1491d54a1d Initial commit
Change-Id: I0ebc7a689a37b077606545d50a5d139f2059ffdb
2016-12-08 12:33:50 +00:00