Skip to content

defcube/django-logging-command

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages