From the Django shell (manage.py shell), when attempting to import a python module that uses logging I run into permission problems: the log files are owned by the web app user
IOError: [Errno 13] Permission denied: '/path/to/my.log'
Is there a way to disable / mock / otherwise work around this issue so I can use the module from the shell?
Use an alternate settings file that loads all of the normal settings and then modifies the location of the log file.