define log before import settings in celery_app

otherwise nothing works if settings.py isn't defined