fix for situation when Logger wasn't yet initialized