add log and change pcap snap length from 8192 to 65535