summaryrefslogtreecommitdiffstats
path: root/Doc/library/logging.handlers.rst
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2021-07-26 22:11:55 (GMT)
committerGitHub <noreply@github.com>2021-07-26 22:11:55 (GMT)
commit11749e2dc20ad6a76e9a39e948853e89b2b4bbed (patch)
tree7b370ec4036b21ae99ca0b46c1d82ac122f9d43f /Doc/library/logging.handlers.rst
parent6c7ec7282b68dcd0f3af0f1ccc6345da4bc06931 (diff)
downloadcpython-11749e2dc20ad6a76e9a39e948853e89b2b4bbed.zip
cpython-11749e2dc20ad6a76e9a39e948853e89b2b4bbed.tar.gz
cpython-11749e2dc20ad6a76e9a39e948853e89b2b4bbed.tar.bz2
bpo-44740: Lowercase "internet" and "web" where appropriate. (#27378)
Co-authored-by: Ɓukasz Langa <lukasz@langa.pl>
Diffstat (limited to 'Doc/library/logging.handlers.rst')
-rw-r--r--Doc/library/logging.handlers.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/Doc/library/logging.handlers.rst b/Doc/library/logging.handlers.rst
index 51bcf59..5625690 100644
--- a/Doc/library/logging.handlers.rst
+++ b/Doc/library/logging.handlers.rst
@@ -930,7 +930,7 @@ HTTPHandler
^^^^^^^^^^^
The :class:`HTTPHandler` class, located in the :mod:`logging.handlers` module,
-supports sending logging messages to a Web server, using either ``GET`` or
+supports sending logging messages to a web server, using either ``GET`` or
``POST`` semantics.
@@ -960,17 +960,17 @@ supports sending logging messages to a Web server, using either ``GET`` or
.. method:: emit(record)
- Sends the record to the Web server as a URL-encoded dictionary. The
+ Sends the record to the web server as a URL-encoded dictionary. The
:meth:`mapLogRecord` method is used to convert the record to the
dictionary to be sent.
- .. note:: Since preparing a record for sending it to a Web server is not
+ .. note:: Since preparing a record for sending it to a web server is not
the same as a generic formatting operation, using
:meth:`~logging.Handler.setFormatter` to specify a
:class:`~logging.Formatter` for a :class:`HTTPHandler` has no effect.
Instead of calling :meth:`~logging.Handler.format`, this handler calls
:meth:`mapLogRecord` and then :func:`urllib.parse.urlencode` to encode the
- dictionary in a form suitable for sending to a Web server.
+ dictionary in a form suitable for sending to a web server.
.. _queue-handler:
@@ -987,7 +987,7 @@ supports sending logging messages to a queue, such as those implemented in the
Along with the :class:`QueueListener` class, :class:`QueueHandler` can be used
to let handlers do their work on a separate thread from the one which does the
-logging. This is important in Web applications and also other service
+logging. This is important in web applications and also other service
applications where threads servicing clients need to respond as quickly as
possible, while any potentially slow operations (such as sending an email via
:class:`SMTPHandler`) are done on a separate thread.
@@ -1053,7 +1053,7 @@ because it works hand-in-hand with :class:`QueueHandler`.
Along with the :class:`QueueHandler` class, :class:`QueueListener` can be used
to let handlers do their work on a separate thread from the one which does the
-logging. This is important in Web applications and also other service
+logging. This is important in web applications and also other service
applications where threads servicing clients need to respond as quickly as
possible, while any potentially slow operations (such as sending an email via
:class:`SMTPHandler`) are done on a separate thread.