penelope icon indicating copy to clipboard operation
penelope copied to clipboard

Log file encoding

Open funkyfliam opened this issue 1 year ago • 3 comments

What file encoding do the log files use? Any way to get it to log without any formatting escape codes? Thanks!

image

funkyfliam avatar Oct 09 '24 09:10 funkyfliam

Hi @funkyfliam. These are ANSII escape codes for coloring. You can "cat" the file to see the colored timestamp, or run penelope with -T to log without timestamps.

brightio avatar Oct 09 '24 09:10 brightio

Thank you very much for the fast response. Would an additional option be possible to log without color codes? I'd like to keep the timestamps in the logs where possible. Not a massive problem if it's too much effort - can strip them externally in post processing

funkyfliam avatar Oct 09 '24 09:10 funkyfliam

That's a good suggestion. I reopened the issue and i will notify you once this feature is ready.

brightio avatar Oct 09 '24 09:10 brightio

@funkyfliam the option is implemented. Just use the -CT switch.

brightio avatar Oct 15 '24 18:10 brightio