Improved the hard-link logging.