Suppress Trace in error log

How can I suppress the trace in error logs?

I have set 'displayErrorDetails' => false and errors are pushed to php_error.log. But I only need the first part of error messages and not the part starting with Trace: #0 ... .

Mostly you will need to overwrite the default Error handlers so it will pass only what you need.

1 Like

Thanks zaher, worked. :slight_smile:

1 Like