Correctly setup logger