Django: prevent logging permission errors from shell
listed in answer
ANSWER:
I’m dealing with this issue at the moment, and my current plan is to simply check for write access to the log directory in settings.py.
If I don’t have it, then I’ll write a warning to stderr and skip the configuration of logging handlers rather than failing.
by ncoghlan from http://stackoverflow.com/questions/10380258

New Comments