mod_python and logging

Daniel Lichtenberger daniel_usenet at yahoo.de
Mon May 16 15:08:34 EDT 2005


Hi!

Vinay Sajip wrote:

> If you want to have multiple processes logging to the same file, the
> standard Python logging module does not support interprocess
> synchronisation directly. However, it is fairly easy to set up the
> processes to log events to a socket, and a socket receiver can log
> received events to file. The online docs have an example socket
> receiver:
> 
> http://docs.python.org/lib/network-logging.html

Thanks for the suggestion! Of course it's great to have a powerful and
flexible logging package, and it's still pretty easy to use. 

Daniel

-- 
For mail replies please use my address from 
http://perplex.schmumpf.de/
http://www.gametective.de/



More information about the Python-list mailing list