Many log messages, including debug messages, use string formatting in the form logger.debug("var={}".format(var)). This can cause a performance issue because the string is constructed even if that log level is disabled.
All log messages should use logger.debug("var=%s", var).
Many log messages, including debug messages, use string formatting in the form
logger.debug("var={}".format(var))
. This can cause a performance issue because the string is constructed even if that log level is disabled.All log messages should use
logger.debug("var=%s", var)
.