Enabled logging and removed settings.py