[issue43877] Logging Cookbook ambiguity

2021-04-22 Thread Raymond Hettinger


Raymond Hettinger  added the comment:

The queue isn't being used with a maxsize.

--
nosy:  -vinay.sajip

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue43877] Logging Cookbook ambiguity

2021-04-20 Thread Gene Ratzlaff


Gene Ratzlaff  added the comment:

Agreed, but only to the limits of the buffer - that's what I was getting at 
when I suggested that limitations should be explained.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue43877] Logging Cookbook ambiguity

2021-04-18 Thread Raymond Hettinger


Raymond Hettinger  added the comment:

The multiprocessing.Queue() instance will accumulate messages regardless of 
whether a producer or consumer is started first.

--
nosy: +rhettinger

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue43877] Logging Cookbook ambiguity

2021-04-16 Thread Gene Ratzlaff


New submission from Gene Ratzlaff :

In the section titled "Logging to a single file from multiple processes"
I am puzzled by the second example, as follows:
The first example has the listener/logger is in a separate >process< and the 
listener/logger process is (as I would anticipate) started >before< the 
worker/sender processes. 
In the 2nd example, the listener/logger is in a separate >thread< and the 
listener/logger thread is (oddly) started >after< the worker/sender processes.
Please correct it, or explain in the Cookbook what is OK about doing it that 
way, and if it is OK, are there limitations to doing it that way?

--
assignee: docs@python
components: Documentation
messages: 391267
nosy: bluebloodpole, docs@python
priority: normal
severity: normal
status: open
title: Logging Cookbook ambiguity
type: enhancement

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue43877] Logging Cookbook ambiguity

2021-04-16 Thread Ned Deily


Change by Ned Deily :


--
nosy: +vinay.sajip

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com