Legato Log messages have the following format:
Jan 3 02:37:56 INFO | processName[pid]/componentName T=threadName | fileName.c funcName() lineNum | Message
Could anyone explain how to remove prefix such as date, timestamp etc..?
Legato Log messages have the following format:
Jan 3 02:37:56 INFO | processName[pid]/componentName T=threadName | fileName.c funcName() lineNum | Message
Could anyone explain how to remove prefix such as date, timestamp etc..?
You can save the logread to text file and then use awk and cut command
Thank you for your response. I am already aware of that and will not to use post-processing. I want to know that is there any way to remove prefix from the legato?
logread probably is part of busybox, not inside legato
BTW, you can see the source code of legato, it also use post-processing method: