don't create class.tarce file if default destination set in config
thread safety and fix stream buffering
TRACE_LOCAL