The preferred way of doing string formatting in logging calls is: `.warning("Stuff %r and things %r", a, b)` rather than explicitly doing the `%` operator.  The advantage of this is that it allows the logging system to defer the string formatting operation until it's decided based on configuration whether or not that log message will be written or discarded.