Manual:$wgLogExceptionBacktrace/en

Details
Whether to send the exception backtrace to the standard log file ($1) or to a file defined with $2.