Python logging formatting is a [dumpster fire of irritating backwards-compatible-but-anachronistic requirements](https://docs.python.org/3/howto/logging-cookbook.html#use-of-alternative-formatting-styles). Figure out the least awful option and make sure logging calls aren't doing unnecessary formatting.