moving logging above local settings import
Merge pull request #150 from dimagi/skelly

moving logging above local settings import