Correcting logging.