Use pillow instead of PIL
Update LOGGING settings so LOGFILE can be overwrite, and define mail_admins handler