Skip to content

Commit c740fe3

Browse files
authored
gh-134360 Add processName attribute to logging.Formatter docstring (GH-134371)
1 parent 1298511 commit c740fe3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/logging/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,7 @@ class Formatter(object):
591591
%(threadName)s Thread name (if available)
592592
%(taskName)s Task name (if available)
593593
%(process)d Process ID (if available)
594+
%(processName)s Process name (if available)
594595
%(message)s The result of record.getMessage(), computed just as
595596
the record is emitted
596597
"""

0 commit comments

Comments
 (0)