HomeSoftware Heritage

Use lazy substitution for logging + fix error messages