Pattern: Logging unsupported format
Issue: -
Calls to logging that contain unsupported format character will raise ValueError
at runtime. Update code so that all format character are valid.
Example of incorrect code:
logging.warn('Hello%20World%s', "!")
Example of correct code:
logging.warn('Hello%%20World%s', "!") # escaped %20