adapted to global config module
minor changes to logger