Help with Ubuntu CLI logging

So I have moved on to WSL plotting (because why not) from PS plotting. I am currently using Tee-Object to generate logs in PS:

| Tee-Object -FilePath "C:\Users\$env:USERNAME\.chia\mainnet\plotter\$([GUID]::NewGUID().ToString('D')).log"

This generates a log file for each plot done (even If I queue up sequential plots, ie. -n 4) and names the log file the same as the plot file is name (except .log instead of .plot). Is there a way to replicate this functionality in the cli for linux?

1 Like

You could try the script in the guide below and possibly modify it to name the log filename to be the same as the plot filename:

Or use Plotman, but that only names the logfiles with the date and time.

1 Like