log: add locus to get the current tip of the log