Implement clearing of the trace log.