The reasons for telling differ.

If the wayward spouse is telling to make themselves feel better to relieve their sense of guilt, then no.

If the wayward spouse truly commits to focusing all their energy on building the best possible relationship with their spouse and family, then no.

If not telling puts the other spouse or the family in danger medically, physically.. then yes.

If the spouse asks, questions, then yes.

If the wayward spouse is a louse, doesn't care, flaunts it, and/or is intentionally hurtful, the other spouse should take a stand.

Why do I take this view? Because affairs, emotional or physical, are symptoms of serious trouble in a marriage. Which is better.. to work on a cure of the problem or focus on the symptom? It takes the effort of both spouses. One for their behavior, the other for drawing a line.

*hugs*