https://github.com/python/cpython/commit/7ada439712871b893bc669971e154b4b4fe15915
commit: 7ada439712871b893bc669971e154b4b4fe15915
branch: 3.13
author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com>
committer: vsajip <vinay_sa...@yahoo.co.uk>
date: 2025-05-21T06:16:36+01:00
summary:

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

Co-authored-by: Sofia Toro <sofie.to...@outlook.com>

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 -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: arch...@mail-archive.com

Reply via email to