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 91560459D0; Wed, 18 Sep 2024 22:55:09 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A8F484333A; Wed, 18 Sep 2024 22:53:59 +0200 (CEST) Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) by mails.dpdk.org (Postfix) with ESMTP id B052D432EC for ; Wed, 18 Sep 2024 22:53:50 +0200 (CEST) Received: by mail-pl1-f182.google.com with SMTP id d9443c01a7336-206f9b872b2so1526845ad.3 for ; Wed, 18 Sep 2024 13:53:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1726692830; x=1727297630; 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=eXb26X7jxB/SNGPRhZgiOkGKBh+kkWqNz3DeeBMolMA=; b=HSbS2OWNAnfmIRtMHzNw2W46jGbgszTervTMd9+NRPQI5nO7pOvE5xyoGAebYF0syL EWkiXbVCOpQOZzQMlTdeODNR4GMn8gNe5QOqI8Nb+lE8DGcYjjwbTtjbTTQZnXKCVCD3 CjXd6LS94lc3J27ElsV/h4m6LNLCtRnCoixIF+oWI7zcd1xpNWh439dfBFRLQe/qaF1i 2Coe29sN5LkhLIZaJ8c6zmT9hspuEuDoASuvcRL7uxrFiZ64obt8aSv9yn12FsRkZQJT DkeDvWZ//8HuMWz2TCv4tT6NgDPLEjPGkFZIlbb3IoxufqIpw8pQx2kfAVprtLZQkS2n OjRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726692830; x=1727297630; 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=eXb26X7jxB/SNGPRhZgiOkGKBh+kkWqNz3DeeBMolMA=; b=ZIxB8gpMAjlJhmTOjVRAlY8fghmFx9tvTwAoRv4i1jV1WsErpyxrdjxSjoINiHF+WY m7ezPufJzPR49bjjrE00ivf8cNYzsLyHNetOiuaA2TLySaLahqjXjWhmQy1MMLY9TVrN FIcuUvx3vojwJ8kerCmuSjTL+S8wi4Y8t5h5Y+1LY37MFIxMMxgijp2rC/hVi2C7R8VL keYlFhBXXZgDGyGfuvGlQ5la+xfHlp0wZ1Kjw4Nf1DdcocsjX4yRQskHCeKnl3Cplt25 So71LAnLVplflMetvPsLf6FhX//Lt91yOymXP7avwkuEzBoYp00pJuvf1N2W5DWdl5LB z+zw== X-Gm-Message-State: AOJu0YyRSDPkqIicvvXhWtlUeKd5s5JUkNu3txhkE9ztPR+HoNkk35rg FO+YO/Q+ePLy/+yk5D1EXBUFcChx2jeHmm57tc3Ye/wiQdOryKsPqqUkrQ1IOLCBLgWqqzYUJkB m X-Google-Smtp-Source: AGHT+IFuupNAmyCESnNi3Z9vtUsUR+ts2tssxVbe4naY/qvEJcWR6hTdVp0/7I0VTSHSZs5CK7TXXw== X-Received: by 2002:a17:903:2311:b0:201:f853:3e73 with SMTP id d9443c01a7336-2076e36a5fbmr412716605ad.11.1726692829764; Wed, 18 Sep 2024 13:53:49 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2079471a2e6sm69415775ad.240.2024.09.18.13.53.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Sep 2024 13:53:49 -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 v24 15/15] doc: add release note about log library Date: Wed, 18 Sep 2024 13:52:14 -0700 Message-ID: <20240918205324.35449-16-stephen@networkplumber.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240918205324.35449-1-stephen@networkplumber.org> References: <20200814173441.23086-1-stephen@networkplumber.org> <20240918205324.35449-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 | 27 ++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/doc/guides/rel_notes/release_24_11.rst b/doc/guides/rel_notes/release_24_11.rst index 0ff70d9057..d6fb6c137b 100644 --- a/doc/guides/rel_notes/release_24_11.rst +++ b/doc/guides/rel_notes/release_24_11.rst @@ -55,6 +55,33 @@ New Features Also, make sure to start the actual text at the margin. ======================================================= +* **Enhancements to logging library.** + + * 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). + + * 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. + + * Log messages are now in color if going to a terminal (similar to dmesg). + The default format shows timestamp in green, subsystem in yellow, + and the message is bold, boldface or normal depending on severity. + + * 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. + Removed Items ------------- -- 2.45.2