user the proper logger for logging calls
remove imports
move logging before localsettings dump so it can be overridden
Merge pull request #2712 from dimagi/silence-logging

Silence logging