Make logger bulletproof