Closed ByronAP closed 3 years ago
赞成
By default, one log file is created for each plot, with detailed logging for the process. This is done for a variety of reasons, but most ideally because it allows for the multitude of community plotting tools out there to interact with the current plot state.
For a large number of people, they like to keep these files around to run calculations on efficiency for their plotting methods. That being said, you do bring up a good point that for people who have no interest in doing this, it does create a slew of logs they have to clean up manually and regularly. Not the end of the world but the ability to do so would be a nice quality of life feature.
There is an existing request issue #3238 that discusses adding a less verbose option to plot logging, so perhaps there is a conversation to be had about potentially adding automatic cleanup/rotation as well to that idea.
Where can I find the plotting log,I can't even find this
I've always used a custom location, so I am a bit rusty on what the default is for sure but I'm fairly certain it is in ~/.chia/mainnet/plotter/ on Ubuntu and C:\users\USERNAME.chia\mainnet\plotter\ on Windows.
This issue has been flagged as stale as there has been no activity on it in 14 days. If this issue is still affecting you and in need of review, please update it to keep it open.
This issue was automatically closed because it has been flagged as stale and subsequently passed 7 days with no further activity.
Plotting leaves a slew of logs which should be removed on a regular basis (delete plot logs older than N hours) and it seems that the other logs should have a size limit option (purge entries to keep size < limit or max N days).