Re: multiple threads with Logging: ValueError: I/O operation on closed file

2008-11-10 Thread Vinay Sajip
On Nov 8, 10:52 pm, [EMAIL PROTECTED] wrote: OS: Solaris 9 Python Version: 2.4.4 I need to log certain data in a worker thread; however, I am getting an error now when I use two worker threads. I think the problem comes from the linelogging.info('Thread Object (%d):(%d), Time:%s in seconds

Re: multiple threads with Logging: ValueError: I/O operation on closed file

2008-11-10 Thread Vinay Sajip
On Nov 8, 10:52 pm, [EMAIL PROTECTED] wrote: OS: Solaris 9 Python Version: 2.4.4 I need to log certain data in a worker thread; however, I am getting an error now when I use two worker threads. I think the problem comes from the linelogging.info('Thread Object (%d):(%d), Time:%s in seconds

multiple threads with Logging: ValueError: I/O operation on closed file

2008-11-08 Thread scriptlearner
OS: Solaris 9 Python Version: 2.4.4 I need to log certain data in a worker thread; however, I am getting an error now when I use two worker threads. I think the problem comes from the line logging.info('Thread Object (%d):(%d), Time:%s in seconds %d'%