Skip to content

Nath82/django-log-outgoing-requests

 
 

Repository files navigation

Version:0.4.0
Source:https://github.com/maykinmedia/django-log-outgoing-requests
Keywords:logging, django, requests
PythonVersion:3.8+

Build status Code quality checks black 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:

pip install -e --no-build-isolation .[tests,coverage,docs,pep8,release]

About

Log outgoing requests made by requests library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.0%
  • CSS 1.0%