Disable logging during manage.py test?

Posted by Eric Palakovich Carr on Stack Overflow See other posts from Stack Overflow or by Eric Palakovich Carr
Published on 2010-06-12T22:11:10Z Indexed on 2010/06/12 22:12 UTC
Read the original article Hit count: 263

Filed under:
|
|

I utilize the standard python logging module. When I call python manage.py test I'd like to disable logging before all the tests are ran. Is there a signal or some other kind of hook I could use to call logging.disable? Or is there some other way to disable logging when python manage.py test is ran?

© Stack Overflow or respective owner

Related posts about python

Related posts about django