Corrected logging.