remove logger from file