Socket
Socket
Sign inDemoInstall

django-zupit-logging

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

django-zupit-logging

A Django Middleware for logging requests and responses accordingly to Zupit Standards


Maintainers
1

==================== Django Zupit Logging

A Django Middleware for logging requests and responses accordingly to Zupit Standards.

Installation

Install using pip::

pip install django_zupit_logging

Configuration

Add django_zupit_logging to your INSTALLED_APPS setting::

INSTALLED_APPS = [
    ...
    'django_zupit_logging',
]

Add django_zupit_logging.middleware.ZupitLoggingMiddleware to your MIDDLEWARE setting::

    MIDDLEWARE = [
        ...
        'django_zupit_logging.middleware.ZupitLoggingMiddleware',
    ]

Add ZUPIT_LOGGING to your settings.py file::

ZUPIT_LOGGING = {
    "APP_INSIGHTS_CONNECTION_STRING": env("APP_INSIGHTS_CONNECTION_STRING"),
}

Use enable_zupit_logger(LOGGING) to your settings.py file::

    from django_zupit_logging.settings import enable_zupit_logger

    if env("APP_INSIGHTS_CONNECTION_STRING"):
        enable_zupit_logger(LOGGING)

Usage

The middleware will log requests and responses accordingly to Zupit Standards.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc