logging added to settings.py