Merge changes I929dddc7,Ice88b141,I243b1338

* changes:
  logd: prune more aggressively when over the top
  logd: initial checkin.
  logcat: test: add clear and blocking check