Closed mrkickling closed 4 months ago
https://docs.python.org/3/howto/logging.html#optimization
Recommended way is to use: logger.debug('Message with %s, %s', expensive_func1(), expensive_func2())
logger.debug('Message with %s, %s', expensive_func1(), expensive_func2())
instead of
logger.debug(f'Message with {expensice_func1()}, {expensive_func2()}', expensive_func1(), expensive_func2())
Change all logs into this format
https://docs.python.org/3/howto/logging.html#optimization
Recommended way is to use:
logger.debug('Message with %s, %s', expensive_func1(), expensive_func2())
instead of
logger.debug(f'Message with {expensice_func1()}, {expensive_func2()}', expensive_func1(), expensive_func2())
Change all logs into this format