Added client logging.