dump error to log output