Restore logging configuration.
Add and abstract logging for Celery tasks.
Add coverage to test task.