Fix extremely minor issue where global logger was accidentally being used.