open log for tcp