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 E337644144; Tue, 4 Jun 2024 04:35:37 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A4F91433D1; Tue, 4 Jun 2024 04:35:37 +0200 (CEST) Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) by mails.dpdk.org (Postfix) with ESMTP id 347C943377 for ; Tue, 4 Jun 2024 04:35:36 +0200 (CEST) Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-1f480624d0dso40333805ad.1 for ; Mon, 03 Jun 2024 19:35:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1717468535; x=1718073335; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=fRjk2oIrsB0OBzTJa9fH7b9eC0RruwOfoS1FcFP7wNo=; b=fdVY1LVbTqkAmPoxsRs2damWmeTrz+vMqeqFnAZJ5aiLTA7FS66Elygs0bebusGwPV 9TSXJ9zbsLw4PWdwqtt6DcmH6fjiq0e01a1MWabqnMTzkTBDFSPsvC8jOWMrFZcWHtyy wV3HgRJHb1gMkl6cY5ZzpTePwosTT/DCS9tsZE3udKQnchVnbV+uYKZGYrc0m0sR1iUm Z4I1pyCv7odbTl9NscEcTaHgCxMgIGPlpUmeUK50XTGzxjosopjpFrTvKgZNE3fCg/ea q8jhMXn2qfw02AUlWmkTfiG1blJ2jUGArjwAehRgq32aem9Zoluz5Ks/AGbAr9Yv1/jy mCUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717468535; x=1718073335; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fRjk2oIrsB0OBzTJa9fH7b9eC0RruwOfoS1FcFP7wNo=; b=Qir3jwSNIcoqxVHNgfVdMeQltSiEmRBHG6sM/Wa7FpzEeG9PTXB7xBg/cZoRrf4dug 2DRtfa+4J9f1+4PB2aLKb54Vu2xhBqiFn0QyDdpZ8gIs8jtSWKvTQ7bQbvI65YPokHaz Wog2UJIaGJAnJ8nP6ecwf9Lh/JwGV53RvBPhcVPoI+1aKeukkqSbU7t7tQbNFi9tyk43 Do85Aizr4Z/m9zXUea6okZVXpERZFqxiV+37DmUbTRkYma0b3RsufXx1f3wVG0Zg50SJ 4c1UhnPYa4KOEtKkJmxnANekKFvK1kwpr3O+i+rrxKcxvJ1j52UGk68syXFhUSAqFP/B PjlQ== X-Gm-Message-State: AOJu0YyabJBc4ZKKKNdKdFwlKTjD3My3kFFWjHkj0EiCnSiZxHjyNgKK vRgU69yb+0fMQajyk2VE/GF4wNaHcBx5qs6i+x6b0wHutsoH/dItjopR39MN1pZrITQHhhbwQvN mBvM= X-Google-Smtp-Source: AGHT+IFVBBg2Ql7CF8S7kJv1YO9Zy0IiwBobLDI1L3AEuY6lNHccEEG0dmWaJ5Zacu3MzZhz17fKDA== X-Received: by 2002:a17:902:eb90:b0:1f4:6c83:23d8 with SMTP id d9443c01a7336-1f636fc5722mr113590995ad.13.1717468535269; Mon, 03 Jun 2024 19:35:35 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f67cc9fda7sm25815865ad.234.2024.06.03.19.35.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 19:35:35 -0700 (PDT) Date: Mon, 3 Jun 2024 19:35:33 -0700 From: Stephen Hemminger To: dev@dpdk.org Cc: Tyler Retzlaff Subject: Re: [PATCH v21 13/14] log: add support for systemd journal Message-ID: <20240603193533.26784f73@hermes.local> In-Reply-To: <20240604004731.6654-14-stephen@networkplumber.org> References: <20200814173441.23086-1-stephen@networkplumber.org> <20240604004731.6654-1-stephen@networkplumber.org> <20240604004731.6654-14-stephen@networkplumber.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Mon, 3 Jun 2024 17:45:01 -0700 Stephen Hemminger wrote: > If DPDK application is being run as a systemd service, then > it can use the journal protocol which allows putting more information > in the log such as priority and other information. > > The use of journal protocol is automatically detected and > handled. Rather than having a dependency on libsystemd, > just use the protocol directly as defined in: > https://systemd.io/JOURNAL_NATIVE_PROTOCOL/ > > Signed-off-by: Stephen Hemminger Same kind of bogus checkpatch warnings: - stdio.h is not a spelling error - the indent is correct, just that checkpatch can't handle #ifdef's