The logging library already has formatting included to it.
```python
logger.info("Restored '%(db_name)s' from '%(backup_file)s'", db_name='foo', backup_file='bar')
```