removes logger