Moved chat logging back to log handler.