HomePhabricator
Diffusion Cumin 95a7ab1df964

Logging: use % syntax for parameters

Description

Logging: use % syntax for parameters

  • For optimization purposes and to adhere to Python best practices, use %s syntax in logging messages and pass the replacement parameters to the logging function. Some messages are still pre-formatted before the call to the logging function because used also for other purposes.
  • pylint: re-enable the check for logging-format-interpolation.

Bug: T179002
Change-Id: I3ed78ec8e9c6e502c0f8a3b10ea5420e36953051

Details

Provenance
VolansAuthored on Oct 21 2017, 5:44 PM
Parents
rCUMIN60207f96d7ef: Logging: uniform loggers
Branches
Unknown
Tags
Unknown
ChangeId
I3ed78ec8e9c6e502c0f8a3b10ea5420e36953051