remove old logging code