logging on sending of messages