Bug in logging.