Re: mod_python and logging

2005-05-16 Thread Daniel Lichtenberger
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 >

Re: mod_python and logging

2005-05-16 Thread Vinay Sajip
Daniel Lichtenberger yahoo.de> writes: > I'm looking for a logging module to be used in a mod_python-powered > website. Python 2.3's logging package seems like a good fit, however > I'm not sure if it's completely safe to use it under high load. The > library documentation states that it's thread

Re: mod_python and logging

2005-05-15 Thread qwweeeit
Hi Daniel, look at the thread I started ("Modifying a built-in function for logging purposes"). http://groups.google.it/group/comp.lang.python/messages/56e905ff27462d91,8f431d9da6140849,95368b6d5db3237d,f1aa51de9139a751,79d9ad3b78f1b875,a7a68e017f064eca,1c203ffc19cdeaac,3e31db7958bffbf1,0889cc903a6

mod_python and logging

2005-05-15 Thread Daniel Lichtenberger
Hi, I'm looking for a logging module to be used in a mod_python-powered website. Python 2.3's logging package seems like a good fit, however I'm not sure if it's completely safe to use it under high load. The library documentation states that it's thread-safe, but what about several forked apache