loading config and thend setting the logger. else, debug will not be activated.