Log the template changes to file