Skip to main content

Log outgoing requests made by the requests python library

Project description

1 django-log-outgoing-requests

Version:

0.9.1

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.1.tar.gz (42.6 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.1-py3-none-any.whl (42.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for django_log_outgoing_requests-0.9.1.tar.gz
Algorithm Hash digest
SHA256 e188033b11e8a3a898a1b52466569720750485a68b05bf6fbf895aea46f3044b
MD5 e448e70a2ce8afbfb11ce0ba9fad5af1
BLAKE2b-256 259d436cd2d22c85b2cea7c90ccccabd535ac789566be706120b4b90d79d931e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for django_log_outgoing_requests-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 44300b2cbd7d4fa1706f2022a9a7a489be267e9441000d60b4ee4c677484d347
MD5 95fcb6c8d5d882bfa4e639125089c1a2
BLAKE2b-256 610104aab888cc70cf6c78203d790a90fa5efc749240ca4c6cb1f4674ef14a38

See more details on using hashes here.

Provenance

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