ini_set ( "log_errors", 1 );
ini_set ( "error_log", "/logs/error.log" );
ini_set ( "display_errors", 0 );
in error.log I got the Errors and a stack trace :
PHP Fatal error: ...
PHP Stack trace:
1. ...
2. ...
3. ...
4. ...
I want disable stack trace to get only the 'PHP Fatal error' line