To enable error tracking, set the zpa.track_errors ini directive to 1. Similarly, to disable it, set it to 0.
To enable error tracking:
zpa.track_errors=1
To disable error tracking:
zpa.track_errors=0
Track errors based on their severity

This is only applicable to the agent versions 4.2 and above.