mirror of
https://github.com/python/cpython.git
synced 2025-11-12 07:02:33 +00:00
Merged documentation fix from 3.2.
This commit is contained in:
commit
b5cab85dc7
1 changed files with 4 additions and 3 deletions
|
|
@ -674,9 +674,10 @@ need to log to a single file from multiple processes, one way of doing this is
|
||||||
to have all the processes log to a :class:`SocketHandler`, and have a separate
|
to have all the processes log to a :class:`SocketHandler`, and have a separate
|
||||||
process which implements a socket server which reads from the socket and logs
|
process which implements a socket server which reads from the socket and logs
|
||||||
to file. (If you prefer, you can dedicate one thread in one of the existing
|
to file. (If you prefer, you can dedicate one thread in one of the existing
|
||||||
processes to perform this function.) The following section documents this
|
processes to perform this function.) :ref:`This section <network-logging>`
|
||||||
approach in more detail and includes a working socket receiver which can be
|
documents this approach in more detail and includes a working socket receiver
|
||||||
used as a starting point for you to adapt in your own applications.
|
which can be used as a starting point for you to adapt in your own
|
||||||
|
applications.
|
||||||
|
|
||||||
If you are using a recent version of Python which includes the
|
If you are using a recent version of Python which includes the
|
||||||
:mod:`multiprocessing` module, you could write your own handler which uses the
|
:mod:`multiprocessing` module, you could write your own handler which uses the
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue