Added a basic chat logger.