Merge changes I9d6dde2c,I38bfcba5

* changes:
  logd: separate LogStatistics from LogBuffer
  logd: remove LogFindWorst