1.9 compatibility + don't crash if there's no logger