fixed udp logging behaviour