Fix create logger