redirect report errors to the error log