fixing bad placement of logging config