Making use of logging.