Re: Add timestamp to dpdk.log

2022-01-06 Thread Soumya Muralidhar
Hi Stephen, Thanks for getting back. But I am looking at storing logs with timestamps in a file, basically something similar to syslog. Could you help me with that ? Regards, Soumya On 1/5/22, 8:17 AM, "Stephen Hemminger" wrote: WARNING: This email originated from outside of Gigamon. Use

Re: Add timestamp to dpdk.log

2022-01-05 Thread Stephen Hemminger
On Wed, 5 Jan 2022 17:42:49 + Soumya Muralidhar wrote: > Hi Stephen, > > Thanks for getting back. But I am looking at storing logs with timestamps in > a file, basically something similar to syslog. Could you help me with that ? > > Regards, > Soumya > > On 1/5/22, 8:17 AM, "Stephen Hemm

Re: Add timestamp to dpdk.log

2022-01-05 Thread Stephen Hemminger
Your message is garbaled with lots of bogus URL's. Please avoid HTML mail or weird links. I use this. There was a more general version submitted as a patch to DPDK but no one seemed interested. The reason for redirecting stdout is that are libraries we use that print to stdout and want to get tim

Add timestamp to dpdk.log

2022-01-05 Thread Soumya Muralidhar
Hi, I am looking to add timestamp while logging using rte_openlog_stream function where you pass the file pointer as a parameter to this function. Below is the snippet : const char *dpdk_log_path