These results reveal that Hif1α and Ldh serve essential roles in both survival of infection and bacterial killing, and demonstrate how shift towards AG associated with systemic metabolic changes in activated macrophages is required to mount a successful immune response. This evidence concerns the gene HIF1A and infection.