Log socket write data