This procedure is defined in the server but not documented via ad_proc or proc_doc and may be intended as a private interface.
The procedure is defined as:
proc ::xo::remove_request_traces {} {
#
# Request-context traces must stop before object finalization. Their
# parameter and developer-support caches can be deleted before logging
# destructors run. Keep unrelated diagnostic traces installed.
#
foreach command {::ns_log ::ns_return} {
if {[info commands $command] eq ""} continue
foreach entry [trace info execution $command] {
lassign $entry operations callback
if {[string match ::tcltrace::* [lindex $callback 0]]} {
trace remove execution $command $operations $callback
}
}
}
}