RE: testpmd logging

2022-11-11 Thread Zhang, Yuying
> -Original Message- > From: Stephen Hemminger > Sent: 2022年11月9日 0:40 > To: Owen Hilyard > Cc: Honnappa Nagarahalli ; > tho...@monjalon.net; Singh, Aman Deep ; > Zhang, Yuying ; david.march...@redhat.com; > dev@dpdk.org; Tu, Lijuan ; Juraj Linkeš > ; nd >

Re: testpmd logging

2022-11-08 Thread Stephen Hemminger
> > > Sent: Tuesday, November 8, 2022 7:02 AM > > > To: Aman Singh ; Yuying Zhang > > > > > > Cc: david.march...@redhat.com; dev@dpdk.org > > > Subject: testpmd logging > > > > > > Hello, > > > > > > I see testpmd is do

Re: testpmd logging

2022-11-08 Thread Owen Hilyard
t; > > Cc: david.march...@redhat.com; dev@dpdk.org > > Subject: testpmd logging > > > > Hello, > > > > I see testpmd is doing log with EAL entity. Example: > > RTE_LOG(ERR, EAL, "The device: %s has been added!\n" > > We could also

RE: testpmd logging

2022-11-08 Thread Honnappa Nagarahalli
+ Lijuan, Owen, Juraj > -Original Message- > From: Thomas Monjalon > Sent: Tuesday, November 8, 2022 7:02 AM > To: Aman Singh ; Yuying Zhang > > Cc: david.march...@redhat.com; dev@dpdk.org > Subject: testpmd logging > > Hello, > > I see testpmd is d

testpmd logging

2022-11-08 Thread Thomas Monjalon
Hello, I see testpmd is doing log with EAL entity. Example: RTE_LOG(ERR, EAL, "The device: %s has been added!\n" We could also discuss the log level. Please can we work on replacing these logs? We need to choose how to log (printf or registered log entity) and be consistent. What do you t