Remove unused null logger variable