From 66fe1d2567fe0aac9136951a55adb1ae60f97747 Mon Sep 17 00:00:00 2001 From: Sofia Toro Date: Tue, 20 May 2025 13:47:34 -0400 Subject: [PATCH] add processName attribute to logging.Formatter docstring add processName to logging.Formatter docstring --- Lib/logging/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py index f2d1a02629d92b..5c3c44249345f3 100644 --- a/Lib/logging/__init__.py +++ b/Lib/logging/__init__.py @@ -591,6 +591,7 @@ class Formatter(object): %(threadName)s Thread name (if available) %(taskName)s Task name (if available) %(process)d Process ID (if available) + %(processName)s Process name (if available) %(message)s The result of record.getMessage(), computed just as the record is emitted """