error report and  log file