[dpdk-dev] [PATCH] vfio: reformat logs

David Marchand david.marchand at redhat.com
Fri Apr 9 15:27:31 CEST 2021


On Thu, Apr 1, 2021 at 1:25 PM Burakov, Anatoly
<anatoly.burakov at intel.com> wrote:
>
> On 08-Mar-21 10:24 PM, Thomas Monjalon wrote:
> > The log messages had various issues:
> > - split on 2 lines, making search (grep) difficult
> > - long lines (can be split after the string)
> > - indented for no good reason (parent message may have higher log level)
> > - inconsistent use of __func__, not meaningful context for user
> > - lack of context (general message not mentioning VFIO)
> > - log level too high (more below)
> >
> > Message having its level decreased from WARNING to NOTICE:
> >       "not managed by VFIO driver, skipping"
> > Message having its level decreased from INFO to DEBUG:
> >       "Probing VFIO support..."
> >
> > Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>

Applied, thanks.


-- 
David Marchand



More information about the dev mailing list