The setTraceOff() method stops the trace operation that sends trace data to the file specified by the setTraceFile() method.
Syntax
public void setTraceOff(void);
Example
TrilGenClient testClient = new TrilTGenClient();
String fileName = “/temp/client.trc”; //Trace o/p to
client.trc
testClient.setTraceFile(fileName); //Set trace file name
testClient.setTraceOn(); //Begin tracing
.
.
.
testClient.setTraceOff(): //Stop tracing