summaryrefslogtreecommitdiffstats
path: root/Doc/library/logging.handlers.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/logging.handlers.rst')
-rw-r--r--Doc/library/logging.handlers.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/library/logging.handlers.rst b/Doc/library/logging.handlers.rst
index 1447cab..0dc0525 100644
--- a/Doc/library/logging.handlers.rst
+++ b/Doc/library/logging.handlers.rst
@@ -1018,6 +1018,8 @@ possible, while any potentially slow operations (such as sending an email via
have the task tracking API, which means that you can use
:class:`~queue.SimpleQueue` instances for *queue*.
+ .. note:: If you are using :mod:`multiprocessing`, you should avoid using
+ :class:`~queue.SimpleQueue` and instead use :class:`multiprocessing.Queue`.
.. method:: emit(record)
@@ -1091,6 +1093,9 @@ possible, while any potentially slow operations (such as sending an email via
task tracking API (though it's used if available), which means that you can
use :class:`~queue.SimpleQueue` instances for *queue*.
+ .. note:: If you are using :mod:`multiprocessing`, you should avoid using
+ :class:`~queue.SimpleQueue` and instead use :class:`multiprocessing.Queue`.
+
If ``respect_handler_level`` is ``True``, a handler's level is respected
(compared with the level for the message) when deciding whether to pass
messages to that handler; otherwise, the behaviour is as in previous Python