]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Misc. backported changes
authorVinay Sajip <vinay_sajip@yahoo.co.uk>
Fri, 16 Sep 2005 10:55:57 +0000 (10:55 +0000)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Fri, 16 Sep 2005 10:55:57 +0000 (10:55 +0000)
Doc/lib/liblogging.tex

index f5c49bbe5ae531ba02e8a23a8a711a0cd98e52e0..639966efc243371bca54128818376287c3f00a87 100644 (file)
@@ -1418,7 +1418,10 @@ configurations. If no port is specified, the module's default
 will be sent as a file suitable for processing by \function{fileConfig()}.
 Returns a \class{Thread} instance on which you can call \method{start()}
 to start the server, and which you can \method{join()} when appropriate.
-To stop the server, call \function{stopListening()}.
+To stop the server, call \function{stopListening()}. To send a configuration
+to the socket, read in the configuration file and send it to the socket
+as a string of bytes preceded by a four-byte length packed in binary using
+struct.\code{pack(">L", n)}.
 \end{funcdesc}
 
 \begin{funcdesc}{stopListening}{}