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 AD7EE45B56; Wed, 16 Oct 2024 22:25:28 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0AF3940A6E; Wed, 16 Oct 2024 22:24:18 +0200 (CEST) Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) by mails.dpdk.org (Postfix) with ESMTP id BDD2F4067D for ; Wed, 16 Oct 2024 22:24:09 +0200 (CEST) Received: by mail-pl1-f177.google.com with SMTP id d9443c01a7336-20cb47387ceso1910555ad.1 for ; Wed, 16 Oct 2024 13:24:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1729110249; x=1729715049; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=feQdMuXExpSVlZKSK3PcQgY+YJbqz9Jwsd0eZlPz814=; b=OQbO5aRdFTrE05loThog3yNPlw7aQmNxVCwOk7+as0dON+a5iATcqyC3O8+6FVcNDv w0MWf7CT1bljRqUjQtH4usUdnJkArd/GYmCkF4HJSMQUUjWu2+UrTdXWMH8IzZvMiwwO PaYJuA5C8dxmkeZJ6woqXC3/KV+3kcC8lNg+HVpTxpV2t3/nVkEEvMH3zaKcN5oSfF2+ EiFzBeD3u/w2hK75M8wgiNThAcFWCZPu1UR1KWV4ZnZATQ4tvC2VBSfr90AFtm9m5p6a b7E7qbr/RCAkKOHgSmumXTFRmTkWS3b0FI52yRYS2S2I4eEaFXBpKQduWepj5mQS539U HC2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729110249; x=1729715049; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=feQdMuXExpSVlZKSK3PcQgY+YJbqz9Jwsd0eZlPz814=; b=fIA912d9TTwHBMFAfUNQ5lqOtUc3r2e5w+k/Mkgc9M7sRxZZCC9zBbFeIlpLCf7kxh HDTBe1BkyudIhOPG69QdGeVdObqN5U/Kj6fncO4hCpyHdTM8bBphHandZfQCR1QnSb7c +tynfK75WqdOCmhb3wmCHd+kfXCYSBgKap3UB9EJI2PNIaYrRV5DMJEZtmcHDgXA02jB YhAkVbmKd3zxING+TM9MLW0sC3fLmFIAi8h3N80A1EubgIwHQFRuuyb8zFOSKN/RpwsN ln+IDL72YZQ0kYlw8RRgs1F7DzCocKCPEe3HpSveysEMw2P7Umk16w1fILvwSFK1W7g7 vpnw== X-Gm-Message-State: AOJu0YyziNla2IyhU3NwtOL76YcHQCirifxIHYUCQJg9joS5XO91Fmip 3hoyBxfWyvXQ11KOa4mwz/BkMNyPK+ezuVz28AJcwHYEJ8waX9kuk6t4lgbQAQl/aiujTEeedQz S X-Google-Smtp-Source: AGHT+IG9sw4K+MTq0MzQFRVa2oDOQh3o0nHH4frg6wGUkr2LQWulgvxFWmK3joKdOiiUG1squ0w83Q== X-Received: by 2002:a17:902:f68f:b0:20c:6f6f:afe5 with SMTP id d9443c01a7336-20d27f276d9mr67069555ad.50.1729110248934; Wed, 16 Oct 2024 13:24:08 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20d180361e5sm32308825ad.120.2024.10.16.13.24.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Oct 2024 13:24:08 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , =?UTF-8?q?Morten=20Br=C3=B8rup?= , Bruce Richardson , Chengwen Feng Subject: [PATCH v26 15/15] doc: add release note about log library Date: Wed, 16 Oct 2024 13:20:42 -0700 Message-ID: <20241016202343.190653-16-stephen@networkplumber.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241016202343.190653-1-stephen@networkplumber.org> References: <20200814173441.23086-1-stephen@networkplumber.org> <20241016202343.190653-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Significant enough to add some documentation. Signed-off-by: Stephen Hemminger Acked-by: Morten Brørup Acked-by: Bruce Richardson Acked-by: Chengwen Feng --- doc/guides/rel_notes/release_24_11.rst | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/doc/guides/rel_notes/release_24_11.rst b/doc/guides/rel_notes/release_24_11.rst index acc512c70a..5c8a0af1d0 100644 --- a/doc/guides/rel_notes/release_24_11.rst +++ b/doc/guides/rel_notes/release_24_11.rst @@ -276,6 +276,32 @@ API Changes and replaced it with a new shared devarg ``llq_policy`` that keeps the same logic. +* **Logging library changes** + + * The log is initialized earlier in startup so all messages go through + the library. + + * Added a new option to timestamp log messages, which is useful for + debugging delays in application and driver startup. + + * Syslog related changes + + * The meaning of the *--syslog* option has changed. + Use of syslog is controlled by the *--syslog* option. + The default is now *auto* which uses syslog only if stderr + is not a terminal device. + + * The syslog facility is now set to **LOG_USER** if stderr is a terminal + and **LOG_DAEMON** otherwise. + + * Syslog is now supported on FreeBSD (but not on Windows). + + * If the application is a systemd service and the log output is being + sent of standard error then DPDK will switch to journal native protocol. + + * Log messages can be optionally marked with colors. + + ABI Changes ----------- -- 2.45.2