Vinay Sajip <vinay_sa...@yahoo.co.uk> added the comment:

Lowell, there's a working sample right there in the docs:

I mentioned it in msg78619 in this issue. The link is

http://docs.python.org/library/logging.html#sending-and-receiving-logging-events-across-a-network

This should get anyone started for a multiprocess logging requirement.
For a single-process multi-threaded scenario, Python logging should work
out of the box except in scenarios already discussed, where child
processes contend for the files - as per thredio.py - and if one can't
avoid spawning child processes which cause contention, then the socket
logging approach with a separate process can be used.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue4749>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to