Invalid use of logging

logging itself is not callable.
Merge branch 'master' into config_refactor