Remove logger from X