Skip to main content

A mixin to make custom Django management commands set the logger to an appropriate level

Project description

Provides a mixin class for Django’s commands. This mixin adds a logger that sets the appropriate log level.

Commands can be run with these args:

  • -s: Silent, only showing log Warnings and Errors

  • –extrasilent: Only show log messages marked Critical

  • –debug: Show all log messages

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-logging-command-1.00.tar.gz (1.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page