add some log to debug with tcp_agent