Fix typo, clarify logging functions