Add explicit logger handler management