django-logging-command

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


License
Other
Install
pip install django-logging-command==1.00

Documentation

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