This function sets the destination for statistics C API trace details.
If the file name already exists, trace data is appended to the file.
If the file name cannot be opened for writing, trace data is sent to stderr.
Passing a null pointer to this function sets the trace destination back to stderr.