Merge "logd: add a test for clearing logs with a reader present"