imported logging to settings.py