remove old logging lines