Closed jdkandersson closed 2 years ago
Also, I believe f-strings are evaluated whether the logging call is active or not. For example, if you have a line that says logger.debug('{}'.format(msg))
it will cause the string formatting to be done even if you're using the info level logging setting.
See here, it is a security problem: https://bugs.python.org/issue46200