Fix trouble with Logger