ENG-6891 Ad hoc logging

Kill dead code rather than suppressing warning?