This patch replaces sendto() with sendmsg() in __send_log() and makes use of an iovec to send the log message.