Remove dead logging code