From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6DCDF43A34; Thu, 1 Feb 2024 09:53:32 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 531EF40299; Thu, 1 Feb 2024 09:53:32 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 19CA540275 for ; Thu, 1 Feb 2024 09:53:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1706777610; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NNpHAgT3nEJhRst07skM4Suopr2NZulJpECzaAnx42U=; b=Y9PKmi4WbuFI+kZ68U7wcvvaMjO77kiGuLy7qplVxgz8mYClOdGUPs3ua3kY94vx9PVXfv 5iFqpMXG7ZV86i0wvwuWQFdneA4EZ8SbsL5s+G0P2SWk2+8JDQLc6w7dngFcjbtusVgd10 f9GRl3KCFiiDtsJk1GiBSMQ3pbw5zKA= Received: from mail-lf1-f72.google.com (mail-lf1-f72.google.com [209.85.167.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-498-GH_-kQXDNb2RvNbPA0hW1A-1; Thu, 01 Feb 2024 03:53:29 -0500 X-MC-Unique: GH_-kQXDNb2RvNbPA0hW1A-1 Received: by mail-lf1-f72.google.com with SMTP id 2adb3069b0e04-50ec9529001so555710e87.2 for ; Thu, 01 Feb 2024 00:53:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706777608; x=1707382408; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=NNpHAgT3nEJhRst07skM4Suopr2NZulJpECzaAnx42U=; b=vMp9uJxlR7aJedn859cFb2oyFm6+/JLjb16fhtqcK8yJHrTEOOddHUxJwyoxyIXpgu Rx79g8D/BT/b64PPpFuQpO5eshcV2MLpEeRgwXcPTDW7JmIObBfZtKBwdnpeNdIjeT2r 0ibkkjAtfWAgnrVoKJIe780XB842Q9waGaDg7pCfJKAAEqSVUhn1ukQt0CPbVYHFdeBS L8oE2Boha/Rnn6A5GrvQk4+AGq+IBFHDWyIL6rleuD2w4E7x3ZBfdXdllSB6bceTkrT9 VZRiddPkE7NS1Qj+qzuPcXDHy4OPxfMJyWnUtomDMHZpwrLqOoa9/MMNWQr9qN7FM5n/ 51zw== X-Gm-Message-State: AOJu0Yzsl++iF0/AYmaZ7B7Wo8ESDuOwRCMBL8SAKWv2QamJrYHL0n/+ GqcRfpmL4LU+iVe3jFGM+spW3tGro/Hzhq1uDJ2LitW2BtwH9MDjac3MWHQ7YLoGLBaKfHGRWVP LcpzEJVr+MW/2gLdy44ZNX/rmh3VuGbZe4HGnihPL1IyEnzdtGEebt4cgbW26h6KnXH66x68uNX eDVQgpa0nhuC1WkcI= X-Received: by 2002:ac2:5325:0:b0:511:21a0:4759 with SMTP id f5-20020ac25325000000b0051121a04759mr1368326lfh.25.1706777607866; Thu, 01 Feb 2024 00:53:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IFvlSeX9nyUkyjsHps75UrEGW506ynAPnqBe8oCpyFDEDDD+g8vnm/AKioMMn2UpeJFRNYSKbKnE2TfLU3pi+8= X-Received: by 2002:ac2:5325:0:b0:511:21a0:4759 with SMTP id f5-20020ac25325000000b0051121a04759mr1368309lfh.25.1706777607564; Thu, 01 Feb 2024 00:53:27 -0800 (PST) MIME-Version: 1.0 References: <20240124120450.546364-1-david.marchand@redhat.com> <20240125125550.1100670-1-david.marchand@redhat.com> In-Reply-To: <20240125125550.1100670-1-david.marchand@redhat.com> From: David Marchand Date: Thu, 1 Feb 2024 09:53:16 +0100 Message-ID: Subject: Re: [PATCH v2] lib: remove duplicate prefix in logs To: David Marchand Cc: dev@dpdk.org, Thomas Monjalon , =?UTF-8?Q?Morten_Br=C3=B8rup?= , Ciara Power , Chengwen Feng , Kevin Laatz , Bruce Richardson , Elena Agostini , Jerin Jacob , Kiran Kumar K , Nithin Dabilpuram , Zhirun Yan , Pavan Nikhilesh , Maxime Coquelin , Chenbo Xia , Andrew Rybchenko X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Thu, Jan 25, 2024 at 1:56=E2=80=AFPM David Marchand 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 > Signed-off-by: David Marchand > Acked-by: Morten Br=C3=B8rup > Acked-by: Ciara Power > Reviewed-by: Chengwen Feng Applied, thanks. --=20 David Marchand