remove logger from token generator