USP2 and USP34 prevent constitutive immune signalling in vivo but differentially control antimicrobial peptide genes expression following bacterial infection. This evidence concerns the gene USP34 and bacterial infectious disease.