This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vinay.sajip
Recipients docs@python, r.david.murray, vinay.sajip, yasuiniko
Date 2016-08-24.12:53:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1472043226.68.0.0959952563335.issue27837@psf.upfronthosting.co.za>
In-reply-to
Content
The thing about queues does not relate just to logging - it relates to all communication between different multiprocessing processes, of which logging is just an example. The logging cookbook is not the place to provide tutorial information on e.g. multi-threading or multiprocessing and the various gotchas that can cause problems (e.g. the state of threading locks after fork). Whole books could be written about this stuff, and no doubt have been.

> Just to clarify, my understanding is that the child loggers on separate processes pass records to the main logger

No, you're mixing up loggers and handlers. Look at the basic and advanced tutorial in the stdlib docs, and e.g.

https://plumberjack.blogspot.co.uk/2009/09/python-logging-101.html

to get an idea of the difference between them. The other posts on that site are also worth looking at, though many of those posts have been incorporated into the logging cookbook over time.

> Thanks for your patience with my inexperience.

You're welcome. If further discussion is needed, it's best to continue it on e.g. Stack Overflow or the python-list mailing list.
History
Date User Action Args
2016-08-24 12:53:46vinay.sajipsetrecipients: + vinay.sajip, r.david.murray, docs@python, yasuiniko
2016-08-24 12:53:46vinay.sajipsetmessageid: <1472043226.68.0.0959952563335.issue27837@psf.upfronthosting.co.za>
2016-08-24 12:53:46vinay.sajiplinkissue27837 messages
2016-08-24 12:53:46vinay.sajipcreate