Prompted by comment in https://github.com/jupyter-server/jupyter_server/pull/1478#discussion_r1888329748 in general you never want to pass anything but a literal string as a first argument go the various `log.info`|`warn`|`error` methods; see https://docs.astral.sh/ruff/rules/#flake8-logging-format-g That is to say, no f-strings; not even pre-formatted variables, as it prevents formatters to do a lot of what they are supposed to do. There is at least 2 dozen usage of this pattern in the codebase: ``` $ grep -r 'log.info(f' . | wc -l 26 ```