Properly set logger configuration