How can I overwrite the logs from previous steps?

To overwrite logs from previous steps, use forking and rewind.