add some logger to trace.