removes unused debug logging