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 0E12C44144; Tue, 4 Jun 2024 04:34:33 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E1B9143377; Tue, 4 Jun 2024 04:34:32 +0200 (CEST) Received: from mail-pg1-f173.google.com (mail-pg1-f173.google.com [209.85.215.173]) by mails.dpdk.org (Postfix) with ESMTP id B782E402D2 for ; Tue, 4 Jun 2024 04:34:31 +0200 (CEST) Received: by mail-pg1-f173.google.com with SMTP id 41be03b00d2f7-6ce533b6409so1157506a12.1 for ; Mon, 03 Jun 2024 19:34:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1717468471; x=1718073271; 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=42+aUuK9XWNwgfBJ+hnzpVtC04ojBVlaGW16Y1veDoM=; b=z/g6zOBFhcdOyezPks3xdxR2mK29yuNWmBY01mxbVSzeiXaee3tYHuvEx3WFkAp1VC oPrABuci6DPl+X6PZM5uV2bUqgSHA5xh8s00pVxl7GRfHRXJ+BPt//izuAEuIp5ZYWDX TeaIX4KoZAwY8PJkaP5QtGzRVHJduIOv2tW+JJSRS0PcrigQfymvFFTwLvUl5oG2PUdb 9IxKWkuBDhsVhF2XJj3L5rs3ojebkxRhiU6EFv5CtbkeJXvObaWlXsz3EyHubizRoMmC XQfCNHfi8jLmqu26IlxuYNHu7hSOBOgSkmoSqxaaquS1Cq5gVk5Spj+pNpqvo1Cc2gZ0 onCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717468471; x=1718073271; 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=42+aUuK9XWNwgfBJ+hnzpVtC04ojBVlaGW16Y1veDoM=; b=klyqmlLGGbVi4I88+FTmgKgel0W9UN2jKDzjHjRovxu8CMi91EnuUDJirgvw9WWTLL mUia20e+upylmHo6Xb57v2MFT5nnnwk1GjSjKzeYadv/uHzZGFLtLgLHIlcMFiBcLdov rcY7KEDJB0yvn4Fwa+nm95/z3RKNaJBHZAF6zFHXsBcksP76uQ3e5pitlwuKAoGsOWGL VeZZF1XK2qidU8Hr+Llk3LMbbqEBYGCwRzGxc/Nbgso92YWt+r/y5JJLRxuOF5Tl/XRt 5JplZC/N9Fvf30Q6yk3y/pvWvseCtJBiHFjt/ZuFQzbR0mCToBe1BtOcB5GvEzvePoi9 Sf1Q== X-Gm-Message-State: AOJu0YwHp+ku5D8OFmJRtHMszI/NmizwyLB80wP/rZDpO6woVoUnbwh0 5MMtnLujXvQrd2xMMrsiYCOHXXPqrVKvcRcgAohTUeLgdoPocTZnxWDizoODU8Nw4X+yf0RDnrQ Q+ko= X-Google-Smtp-Source: AGHT+IHYr//ZT/sPd/hLvHAbzz3dZoFtfYKrIf1ahbNSIbUtG39XW5pLav1zruHfgBxw/GNb/f4wkg== X-Received: by 2002:a05:6a20:3d86:b0:1b1:f3d6:18c0 with SMTP id adf61e73a8af0-1b26f12170amr14729250637.19.1717468470816; Mon, 03 Jun 2024 19:34:30 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2c1a77bab2fsm9280740a91.51.2024.06.03.19.34.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 19:34:30 -0700 (PDT) Date: Mon, 3 Jun 2024 19:34:29 -0700 From: Stephen Hemminger To: dev@dpdk.org Cc: Tyler Retzlaff Subject: Re: [PATCH v21 12/14] log: add optional support of syslog Message-ID: <20240603193429.73faedcc@hermes.local> In-Reply-To: <20240604004731.6654-13-stephen@networkplumber.org> References: <20200814173441.23086-1-stephen@networkplumber.org> <20240604004731.6654-1-stephen@networkplumber.org> <20240604004731.6654-13-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:00 -0700 Stephen Hemminger wrote: > Log to syslog only if option is specified. And if syslog is used > then normally only log to syslog, don't duplicate output. > Also enables syslog support on FreeBSD. > > Signed-off-by: Stephen Hemminger > --- Ignore checkpatch complaints. 1. The tests should use the same style as other tests. 2. Checkpatch can't figure out code indent correctly with #ifdefs. 3. Checkpatch thinks stdio.h is spelling error.