Improved configuration of logging and verbosity