idena-network / idena-go

Idena node
https://idena.io
GNU Lesser General Public License v3.0
151 stars 50 forks source link

STDOUT cli colors #644

Open hngts opened 3 years ago

hngts commented 3 years ago

So far, I was used to view remote-node (home LAN network) log onto client machine via conky eg: exec tail -n 72 /path/to/nfs/dir/output.log - just fine. Now, since the update to latest 0.24.3 version, color control sequences are shown as well (not interpretted with watch -n 5 tail ... either ) and it seems like default behavior .. ? That wasn't the case with the previous version. How can I disable them? I want normal plain text (white colored text, spaces, line breaks and tabs, nothing else) log, just as it was before.

midenaio commented 3 years ago

@hngts Could you share a screenshot?

hngts commented 3 years ago

Here it is ..

crop

hngts commented 3 years ago

I can see that there is --logcoloring (switch only.. ?) option added .. and logic is telling me that IF I WANT to see those. If I try with --logcoloring=false, 0, 'disabled' .. Directrly or inside external config file .. nope. Nothing happens. Not even an error.