Newplic php agent error tracing

I am a bit confused about how New Relic tracks errors in php application.

Does the application determine the error level (with error_reporting ()) for the php agent? Or is he still getting all the errors? Are there cases where php agent fails to collect errors?

+4
source share
2 answers

The new Relic PHP agent intercepts PHP, and any errors that fall into the PHP error handler will be passed to us. We usually ignore 4xx errors, but everything that PHP detects must be compiled.

, PHP, , . Ee E_NOTICE E_USER_NOTICE

-, PHP-, . Xdebug, .

+6

, PHP agent (newrelic.ini), newrelic.loglevel, . error_reporting() "" , / .

, , , , . , , php . , , , , error_reporting() " ", newrelic.loglevel.
: , , .

- API, php. ,

+2

All Articles