Log file that we now attach replaces the error message in the email