Any measurable or observable characteristic related to the capacity to change, adjust, or alter immune processes or function as a result of invasion and multiplication of microorganisms in the tissues, or of exposure to components of or toxins produced by pathogenic microorganisms.