Add logging for papertrail.
Support gunicorn for web.
Better logging.
Fix logging.
Fix shell settings.