logging config improved