made the logger optional in AdminExtractor

quite untested .. actually not sure if this fix needs to be cherry picked to other branches too