refactor: remove logger variable