Metadata API/pylintrc: Use old style logging

This is suggested by the Google style guide: the old style logging
(%-format) allows the log strings to be lazily formatted so there's less
need to think about performance when forming debug messages.

No actual code changes are needed because the metadata API does not yet
log anything.

Fixes #1334

Signed-off-by: Jussi Kukkonen <jkukkonen@vmware.com>
This commit is contained in:
Jussi Kukkonen 2021-05-11 11:44:36 +03:00
parent d5deba2185
commit efd412aa90

View file

@ -44,7 +44,7 @@ max-line-length=80
single-line-if-stmt=yes
[LOGGING]
logging-format-style=new
logging-format-style=old
[MISCELLANEOUS]
notes=TODO