Handle the "disabled" logger that JDK8 uses in Nashorn.