Skip to content

Instantly share code, notes, and snippets.

View UtsavChokshiCNU's full-sized avatar

Utsav Chokshi UtsavChokshiCNU

  • Codenation
  • Banglore
View GitHub Profile
@ipmb
ipmb / settings.py
Last active November 11, 2024 07:14
Django logging example
import logging.config
import os
from django.utils.log import DEFAULT_LOGGING
# Disable Django's logging setup
LOGGING_CONFIG = None
LOGLEVEL = os.environ.get('LOGLEVEL', 'info').upper()
logging.config.dictConfig({