Skip to content

Commit

Permalink
Docs: Remove the logging howto potential promise of multiprocessing s…
Browse files Browse the repository at this point in the history
…upport in the future.

Stick to the facts and suggestions, don't provide hope where we're not going to
implement complexity that we'd rather the user implement themselves when
needed.
  • Loading branch information
gpshead committed Nov 7, 2024
1 parent 223d3dc commit 8204e7c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Doc/howto/logging-cookbook.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1267,11 +1267,8 @@ to adapt in your own applications.

You could also write your own handler which uses the :class:`~multiprocessing.Lock`
class from the :mod:`multiprocessing` module to serialize access to the
file from your processes. The existing :class:`FileHandler` and subclasses do
not make use of :mod:`multiprocessing` at present, though they may do so in the
future. Note that at present, the :mod:`multiprocessing` module does not provide
working lock functionality on all platforms (see
https://bugs.python.org/issue3770).
file from your processes. The stdlib :class:`FileHandler` and subclasses do
not make use of :mod:`multiprocessing`.

.. currentmodule:: logging.handlers

Expand Down

0 comments on commit 8204e7c

Please sign in to comment.