logging fix for failure to copy final file