This commit is contained in:
Adam Hopkins 2023-09-13 19:26:36 +03:00
parent 5a7ed4d4fe
commit 86a414fd58
No known key found for this signature in database
GPG Key ID: 9F85EE6C807303FB

View File

@ -419,8 +419,8 @@ def record_factory(*args, **kwargs):
logging.setLogRecordFactory(record_factory)
LOGGING_CONFIG_DEFAULTS["formatters"]["access"]["format"] = LOGGING_FORMAT
LOGGING_CONFIG_DEFAULTS["formatters"]["access"]["format"] = LOGGING_FORMAT
app = Sanic("Example", log_config=LOGGING_CONFIG_DEFAULTS)
```