moved config logging