Partial implementation of logreader.