Drop a logger and an unused declaration