Bugfix: Initialize JsonLogFormatter to pass to handler (#107)
2024.3.0
- Add request correlation ID support ([#101](https://github.com/mozilla-services/python-dockerflow/issues/101)).
In order to add a ``rid`` field to all log messages, add the ``dockerflow.logging.RequestIdLogFilter`` filter to your logging handlers.
See: :ref:`Django <django-logging>`, :ref:`FastAPI <fastapi-logging>`, :ref:`Flask <flask-logging>`, :ref:`Sanic <sanic-logging>` for details.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps dockerflow from 2021.7.0 to 2024.4.1.
Release notes
Sourced from dockerflow's releases.
... (truncated)
Changelog
Sourced from dockerflow's changelog.
... (truncated)
Commits
9014f6e
Update changelog for 2024.4.0 release (#108)ea3d2ba
(fastapi) Initialize JsonLogFormatter to pass to handler (#107)540563a
Fix #45: Document extra log fields (#105)4c5ae34
Add support for Sanic 23 (#104)559aa01
Fix #79: add support for recent versions of Flask (#103)b98b4ff
Update changelog 2024.3.0a953916
Generalize usage of request correlation id to all integrations (#101)6a6c78a
Github Action status for each tox combination (#102)6b9e191
Useruff
instead of flake8 and black (#96)4bad625
(fastapi) Log request ID when set in headers (#100)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show