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

Burakov, Anatoly anatoly.burakov at intel.com
Thu Apr 1 13:24:41 CEST 2021


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>

-- 
Thanks,
Anatoly


More information about the dev mailing list