I am setting up logging in Django, but for some reason I see no logs appear. Django uses Python's logging
module (I use Python 2.7).
Is there a way I can see the currently configured logging setup, something like a logging.getConfigDict()
or so?
I am setting up logging in Django, but for some reason I see no logs appear. Django uses Python's logging
module (I use Python 2.7).
Is there a way I can see the currently configured logging setup, something like a logging.getConfigDict()
or so?
There's the logging_tree
module for that:
pip install logging_tree
and then (via ./manage.py shell
)
import logging_tree
logging_tree.printout()
More infos: http://rhodesmill.org/brandon/2012/logging_tree/