From 0ddcf8ca7af0f6c1ad5e2aa0b5ea9f7a0ad367f5 Mon Sep 17 00:00:00 2001 From: Sofia Toro Date: Wed, 21 May 2025 00:49:06 -0400 Subject: [PATCH] gh-134360 Add processName attribute to `logging.Formatter` docstring (GH-134371) (cherry picked from commit c740fe3bd092911d9e474bcc0eed2a009482be9f) Co-authored-by: Sofia Toro --- Lib/logging/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py index 283a1055182b63..357d127c090482 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 """