remove trace and ignore log files