Correct logger factory call