Concentrations of TNF-α, IFN-γ, IL-17A, and IL-22 rose sharply in the milk of UI goats when infection was out of control. Here, TNF is linked to infection.