am 31399f4f: Merge "logd: Fix pruning"

* commit '31399f4f06c4e5c965c518f0499e4e19316042cd':
  logd: Fix pruning