Introduce logging.