I am trying to test a django application that depends on a custom log formatter.
App log lines look like this:
`
logger.info("Message with formatting {} {}", "foo", "boo")`
Obviously these log lines depend on a formatter that does something like this:
`msg = msg.format(*self.args)`
The app uses a LOGGING config like this:
LOGGING = {
'formatters': {
'standard': {
'()': 'common.utils.logging_utils.TimeZoneFormatter',
How can I get pytest to set up the same logging configuration while the app is under test?