Update logger.py

Profanity removed from comments