martomi / chiadog

A watch dog providing a peace in mind that your Chia farm is running smoothly 24/7.
MIT License
457 stars 120 forks source link

[BUG] Signage Points are not parsed on Windows #253

Closed pwf1986 closed 3 years ago

pwf1986 commented 3 years ago

While running CHIA in windows, chiadog seems to miss INFO about signage points. I think the issue might be related to a missing symbol in windows chia debug log file related to signage points vs. in linux.

Chiadog SPs

pieterhelsen commented 3 years ago

Additional info in case someone other than me picks up this issue. It seems to be related to the emoji that's used in the Posix logfile:

Posix 2021-07-08T13:56:28.731 full_node chia.full_node.full_node: INFO ⏲️ Finished signage point 16/64: CC: ... RC: ...

Windows 2021-07-08T06:31:14.339 full_node chia.full_node.full_node: INFO Finished signage point 11/64: CC: ... RC: ...

This line should be changed to be multi-platform compliant or a switch should be included to use a different regex for Windows. https://github.com/martomi/chiadog/blob/429b90cf2d3f74a885d4ffcb748fb63b1521e48b/src/chia_log/parsers/finished_signage_point_parser.py#L32

martomi commented 3 years ago

Now released in 0.6.1.