agent_sdk_samples icon indicating copy to clipboard operation
agent_sdk_samples copied to clipboard

Error cases are not being logged

Open pankajv82 opened this issue 9 years ago • 0 comments

Hi, We were able to recompile with new module (ngx_http_newrelic_module) for newrelic logging. We changed setting to Newrelic ON but all we getting HTTP 200 beeing logged although few APIs are failing. We don't see any error being logged. Error Rate is always 0%. Do we need to do something to enable error logging.

We are following below sample: https://github.com/newrelic/agent_sdk_samples/blob/master/nginx/sample/conf/nginx.conf

We want to know what needs to be done to log cases when back-end API returns error (ex: HTTP 500. 401 etc)

pankajv82 avatar Dec 13 '16 23:12 pankajv82