clean the unnecessary logger