Remove extraneous log statements and attach stderr to http response.