Skip to content

maykinmedia/django-log-outgoing-requests

Repository files navigation

Version:0.9.0
Source:https://github.com/maykinmedia/django-log-outgoing-requests
Keywords:logging, django, requests

Build status Code quality checks Ruff Coverage status Documentation Status

python-versions django-versions pypi-version

A logging solution for outgoing requests made via the requests library.

django-log-outgoing-requests provides a custom formatter and handler for the Python logging standard library. It integrates with existing logging configuration and provides (configuration) options to save the log records to the database.

You would typically use this as a tool to debug integration with external HTTP services, via log shipping solutions and/or the Django admin.

  • log formatter for a readable representation of a request and response
  • log handler to persist relevant log records to the database
  • configurable via Django settings
  • runtime configuration in the admin, overriding defaults from Django settings.

Please see the hosted documentation for installation, configuration and usage instructions.

To install and develop the library locally, use:

uv pip install -e .[tests,docs,release,celery]

Before releasing, make sure the styles are up to date:

python -m log_outgoing_requests.syntax_highlighting

About

Log outgoing requests made by requests library

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors