[Python-checkins] r88588 - python/branches/py3k/Doc/library/logging.handlers.rst

vinay.sajip python-checkins at python.org
Fri Feb 25 17:05:27 CET 2011


Author: vinay.sajip
Date: Fri Feb 25 17:05:26 2011
New Revision: 88588

Log:
Documented QueueListener change.

Modified:
   python/branches/py3k/Doc/library/logging.handlers.rst

Modified: python/branches/py3k/Doc/library/logging.handlers.rst
==============================================================================
--- python/branches/py3k/Doc/library/logging.handlers.rst	(original)
+++ python/branches/py3k/Doc/library/logging.handlers.rst	Fri Feb 25 17:05:26 2011
@@ -838,6 +838,15 @@
       Note that if you don't call this before your application exits, there
       may be some records still left on the queue, which won't be processed.
 
+   .. method:: enqueue_sentinel()
+
+      Writes a sentinel to the queue to tell the listener to quit. This
+      implementation uses ``put_nowait()``.  You may want to override this
+      method if you want to use timeouts or work with custom queue
+      implementations.
+
+      .. versionadded:: 3.3
+
 
 .. seealso::
 


More information about the Python-checkins mailing list