add django-style logging configuration