How to get rid of the “X now favors Y as the heir” messages
According to a loading screen message, right click on the message, which will show you a window that lets you customize this exact kind of message, without looking for the right kind of message in the long list: