text: import logging
  from django.conf import settings
  
  fmt = getattr(settings, 'LOG_FORMAT', None)
  lvl = getattr(settings, 'LOG_LEVEL', logging.DEBUG)
  
  logging.basicConfig(format=fmt, level=lvl)
  logging.debug("Logging started on %s for %s" %
                (logging.root.name, logging.getLevelName(lvl)))
  