dump error in log file