https://github.com/python/cpython/commit/c740fe3bd092911d9e474bcc0eed2a009482be9f
commit: c740fe3bd092911d9e474bcc0eed2a009482be9f
branch: main
author: Sofia Toro <[email protected]>
committer: vsajip <[email protected]>
date: 2025-05-21T05:49:06+01:00
summary:
gh-134360 Add processName attribute to `logging.Formatter` docstring (GH-134371)
files:
M Lib/logging/__init__.py
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
"""
_______________________________________________
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]