The inflammatory response to infection is shaped by alterations in splenic cytokine production, particularly IFNγ, which differs after intragastric versus intraperitoneal infection. Here, IFNG is linked to infection.