Move logging module into parameters.

The logging parameters make more sense in the global parameters setup
location and the default configuration mechanism has been moved into a
function that is called where an import used to be sufficient.