There's no method to print this out into log, but you can grab the info through cacheManager.getTransport() - on the Transport interface you can see methods such as getMembers(), getViewId() and so on. If you want to go deeper, you should cast the Transport to JGroupsTransport and call getChannel().getProtocolStack() there - you can get the configuration of each protocol there.
For view changes, Infinispan prints some INFO level messages, I usually grep for them as "new.*cluster"
Thank you, Radim!