https://github.com/python/cpython/commit/64047f7e926b8be8f75cf0b980808ad5bec5e931
commit: 64047f7e926b8be8f75cf0b980808ad5bec5e931
branch: 3.14
author: Miss Islington (bot) <[email protected]>
committer: vsajip <[email protected]>
date: 2025-05-21T06:16:56+01:00
summary:

[3.14] gh-134360 Add processName attribute to `logging.Formatter` docstring 
(GH-134371) (GH-134405)

Co-authored-by: Sofia Toro <[email protected]>

files:
M Lib/logging/__init__.py

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
     """

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to