Better logging for receivemessage