Skip to main content

Log outgoing requests made by the requests python library

Project description

1 django-log-outgoing-requests

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.

2 Features

  • 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.

3 Usage

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

4 Local development

To install and develop the library locally, use:

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-log-outgoing-requests-0.4.0.tar.gz (20.6 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file django-log-outgoing-requests-0.4.0.tar.gz.

File metadata

File hashes

Hashes for django-log-outgoing-requests-0.4.0.tar.gz
Algorithm Hash digest
SHA256 cf828c850eeaa6c5316f8d62c551f96596f0f86b7c377594b72c233ed0d03a80
MD5 54ebc980d2e355bba43f0cd2b1e1a808
BLAKE2b-256 f2f4fd93d384c54532c1ea6c4908ca1974bf40f5b4ec1fca7023c7b87059ccca

See more details on using hashes here.

File details

Details for the file django_log_outgoing_requests-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_log_outgoing_requests-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 778d6bb84d72084f82dba2d766f6d3313af748f7287e567e2c1628a2b712db34
MD5 e290b462bbbdf074fff60134c99b80a6
BLAKE2b-256 073bc1e3ff48fcbb6ef17ece4fe1b4fc23f80a3d55df60cefd5e8e72424e87ec

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page