fixed where I get the logger from