Refactor to allow insertion of the concurrent logging reader.