Skip to main content

Log outgoing requests made by the requests python library

Project description

1 django-log-outgoing-requests

Version:

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

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:

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

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.8.0.tar.gz (38.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_log_outgoing_requests-0.8.0-py3-none-any.whl (38.0 kB view details)

Uploaded Python 3

File details

Details for the file django_log_outgoing_requests-0.8.0.tar.gz.

File metadata

File hashes

Hashes for django_log_outgoing_requests-0.8.0.tar.gz
Algorithm Hash digest
SHA256 effa33201841c72ddb8f4701fa75220d5e2e2b416de6f10ba7e75fc2491a2f84
MD5 89f65717e86e21bd5c3b005998d7a9ac
BLAKE2b-256 ea4d07fae585baafc6c52e3ac942c01a32a893164523638d57fca806718b056a

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_log_outgoing_requests-0.8.0.tar.gz:

Publisher: ci.yml on maykinmedia/django-log-outgoing-requests

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for django_log_outgoing_requests-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aea08b1a3366a2cfccda1fc08c247a6970b0c56e2978e83dc837ca19f23aebd7
MD5 a21fa2a6140edf8de48381d1124d00a3
BLAKE2b-256 baa12c1c973b47087f027aceaa2bec6729bfb0cd966214d322984a7e3f776181

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_log_outgoing_requests-0.8.0-py3-none-any.whl:

Publisher: ci.yml on maykinmedia/django-log-outgoing-requests

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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