Make indexing logs rewrite themselves