SChernykh / p2pool

Decentralized pool for Monero mining
GNU General Public License v3.0
1.08k stars 128 forks source link

Possible to add a "--no-color" option? #62

Closed AD-Wright closed 2 years ago

AD-Wright commented 2 years ago

Thank you for your work!

I have been running p2pool in sethsimmons docker of this repository, as I am running on Unraid. It appears with Unraid specifically the color codes in the output cause issues (as documented in the XMRig docker), and I was hoping it would be possible to add an option to toggle the colors off for the text output? I have no idea how difficult this might be. Otherwise the output just looks like this:

[0;36m2021-10-27 01:23:52.0455 SideChain add_block: height = 474611, id = 2580549ebf9e7d83d4e5aa48b804414f059a6236626f4bcc9b9223a80c600a1b, mainchain height = 2479830, verified = 0
SChernykh commented 2 years ago

https://github.com/SChernykh/p2pool/commit/1c0da4513fba40db3a995860c3ba3ce4bd459099

AD-Wright commented 2 years ago

Wow, thank you!