I am using a simple unit test based test runner to test my Django application.
My application itself is configured to use a basic logger in settings.py using:
logging.disable(logging.CRITICAL)
will disable all logging calls with levels less severe than or equal to CRITICAL. Logging can be re-enabled with
CRITICAL
logging.disable(logging.NOTSET)