[PATCH v2] lib: remove duplicate prefix in logs
David Marchand
david.marchand at redhat.com
Thu Feb 1 09:53:16 CET 2024
On Thu, Jan 25, 2024 at 1:56 PM David Marchand
<david.marchand at redhat.com> wrote:
>
> RTE_LOG() macros prefixe the log messages based on the logtype.
> This results in logs like:
>
> TMTY: TELEMETRY: Attempting socket bind to path '/run/user/...'
> TMTY: TELEMETRY: Socket creation and binding ok
> TMTY: TELEMETRY: Telemetry initialized ok
>
> Remove redundancy in some libraries following their conversion to
> RTE_LOG/RTE_LOG_LINE.
>
> Note: for consistency, dmadev logs are now prefixed with "DMADEV: "
> instead of a too generic "dma: ".
>
> Fixes: 97433132c2ed ("lib: use per line logging in helpers")
> Fixes: 0e21c7c07d62 ("lib: replace logging helpers")
>
> Reported-by: Thomas Monjalon <thomas at monjalon.net>
> Signed-off-by: David Marchand <david.marchand at redhat.com>
> Acked-by: Morten Brørup <mb at smartsharesystems.com>
> Acked-by: Ciara Power <ciara.power at intel.com>
> Reviewed-by: Chengwen Feng <fengchengwen at huawei.com>
Applied, thanks.
--
David Marchand
More information about the dev
mailing list