[fix] remove logger from globals