Fixed djangoautoconf.py
Fixed logging issue.