updates logging.