wtrace
wtrace copied to clipboard
Support logging to a file in JSON format
Hello @lowleveldesign
Awesome project ! I found pretty much everything I needed, from the ability to trace a process and its childs, limiting to a set of handlers, or filtering on specific keywords. The only missing thing is a flexible output option.
Correct me if I am wrong, at the moment, the tool can only write to stdout, so you need to pipe it to a file then manually parse the output which is not good (as parsing cli output is a bad pattern anyway).
I believe producing in JSON format will be helpful for many folks.
Cheers.
Hi @LordNoteworthy ,
Thank you for the suggestion. Right now, the custom event properties are passed from the handlers as string, so adding custom output formatting will require some work. I do not have much free time for this now, but I will try to implement it in the next release.
Awesome ! Thank for your great work. Looking forward to it !