fixed bug with logging config