append the original error and log files