Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
django-zupit-logging
Advanced tools
A Django Middleware for logging requests and responses accordingly to Zupit Standards
A Django Middleware for logging requests and responses accordingly to Zupit Standards.
Install using pip
::
pip install django_zupit_logging
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)
The middleware will log requests and responses accordingly to Zupit Standards.
FAQs
A Django Middleware for logging requests and responses accordingly to Zupit Standards
We found that django-zupit-logging demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.