Revised logging.