Added demo logging.