]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-134360 Add processName attribute to `logging.Formatter` docstring (GH-13437...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 21 May 2025 05:16:36 +0000 (07:16 +0200)
committerGitHub <noreply@github.com>
Wed, 21 May 2025 05:16:36 +0000 (06:16 +0100)
Co-authored-by: Sofia Toro <sofie.torch@outlook.com>
Lib/logging/__init__.py

index 283a1055182b63979fa796805659dc489430c797..357d127c09048226780c7ac60db1e1ab792efd0f 100644 (file)
@@ -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
     """