Properly manage disabling site configs; add logs to gunicorn template.

Also, lint fixes.