Modified logging.