summaryrefslogtreecommitdiffstats
path: root/Doc/library/logging.handlers.rst
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2013-09-27 17:18:28 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2013-09-27 17:18:28 (GMT)
commit5421f35d5e215a69382f0c195c0c39c8b541eca7 (patch)
tree113a860e9f3758506e285490e0061ea472684469 /Doc/library/logging.handlers.rst
parent55798896a4bd3f294755523d8237a56cacc4bf5c (diff)
downloadcpython-5421f35d5e215a69382f0c195c0c39c8b541eca7.zip
cpython-5421f35d5e215a69382f0c195c0c39c8b541eca7.tar.gz
cpython-5421f35d5e215a69382f0c195c0c39c8b541eca7.tar.bz2
logging: added support for Unix domain sockets to SocketHandler and DatagramHandler.
Diffstat (limited to 'Doc/library/logging.handlers.rst')
-rw-r--r--Doc/library/logging.handlers.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/logging.handlers.rst b/Doc/library/logging.handlers.rst
index 65e0b67..f52060a 100644
--- a/Doc/library/logging.handlers.rst
+++ b/Doc/library/logging.handlers.rst
@@ -381,6 +381,9 @@ sends logging output to a network socket. The base class uses a TCP socket.
Returns a new instance of the :class:`SocketHandler` class intended to
communicate with a remote machine whose address is given by *host* and *port*.
+ .. versionchanged:: 3.4
+ If ``port`` is specified as ``None``, a Unix domain socket is created
+ using the value in ``host`` - otherwise, a TCP socket is created.
.. method:: close()
@@ -466,6 +469,9 @@ over UDP sockets.
Returns a new instance of the :class:`DatagramHandler` class intended to
communicate with a remote machine whose address is given by *host* and *port*.
+ .. versionchanged:: 3.4
+ If ``port`` is specified as ``None``, a Unix domain socket is created
+ using the value in ``host`` - otherwise, a TCP socket is created.
.. method:: emit()