Added a chat logger.