Chia-Network / drplotter

Apache License 2.0
62 stars 7 forks source link

FR: Harvester logging at end of SP #60

Open bhorvitz opened 1 month ago

bhorvitz commented 1 month ago

It would be quite useful for metrics if the drchia harvester could output the reference log line at the end of a signage point: 2024-05-27T08:15:51.621 harvester chia.harvester.harvester: INFO 120 plots were eligible for farming cfd90acfcf... Found 0 proofs. Time: 1.25054 s. Total 57238 plots

Currently this information is sort of available from the drserver logs, but it is quite difficult to parse which harvester is which and which task is the last in a SP.

rkroelin commented 1 month ago

This would be an appreciated change to bring the logs inline with other harvesters to ease maintenance

drnick23 commented 1 month ago

I will look to add another entry that is purely disk lookup times, so could add a seperate log entry like:

23 tasks were eligible for solvers...disk lookup time: xx.xx s.

bhorvitz commented 6 days ago

Thanks for adding the extra logging. I was able to put together some logic to get the data I need from that.

If I could make one more request, it would be great to have this: 2024-07-12T16:29:41.608 harvester drplotter : INFO Signage points passed: 64; total proofs solved: 6643; total proofs passed pool difficulty filter: 0; total pool points: 0

after each SP, not just a summary after every 64. This information is especially useful as a solo farmer.