Skip to main content

Log outgoing requests made by the requests python library

Project description

1 django-log-outgoing-requests

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.

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]

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

python -m log_outgoing_requests.syntax_highlighting

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.9.0.tar.gz (40.8 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.9.0-py3-none-any.whl (41.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for django_log_outgoing_requests-0.9.0.tar.gz
Algorithm Hash digest
SHA256 f1c734d89dd6934b3659804dc8f9b37afe862d51690af03d3db6ff1d163ce204
MD5 ec5766e05cc82b5587835ae21e76306b
BLAKE2b-256 a4a14bdbf58d05a93338e1aafa46d3429d64544e00133a933b349bc3530bf7e5

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_log_outgoing_requests-0.9.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.9.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_log_outgoing_requests-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 98adcdfbac6462cf40ff12d16251028ebf170bc14b408dce95da017a6dba9138
MD5 d6cde805b671d0bc82c85623e8a499f7
BLAKE2b-256 b532fb0c253490b871aa6d4731a3f08c1d9ffd5348458be4bf0c23ffa4a8f0ee

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_log_outgoing_requests-0.9.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