made the logger optional in AdminExtractor