[JENKINS-21289]	Item Logging causing NPE

getLevel() return <null> when no logger is configured.