Stop the trace process.
jdisableTrace()
Stop the trace process enabled with jenableTrace.
jenableTrace(fullpath(TMPDIR + "/../debug_jims.log")); // ... jdisableTrace();