udp and device logging working