added logging for ios message sending