fixed silly copy paste error in logger factory method