Logger: move config from method