fixes logging config