replace console.log with tracer logger