python logging

2011-05-17 Thread Fei
where is default logging file on Mac? I saw lots of app just import logging, and begins to logging.info(...) etc. I'm not sure where to look at the logging configuration to figure out the log location. I just get in touch of python about 1month ago, and I appreciate your help. -- http://mail.pyt

Re: python logging

2011-05-17 Thread Fei
On May 17, 6:55 pm, Ian Kelly wrote: > On Tue, May 17, 2011 at 2:55 PM, Fei wrote: > > where is default logging file on Mac? I saw lots of app just import > > logging, and begins to logging.info(...) etc.  I'm not sure where to > > look at the logging configuration to f

embed threaded python code, thread won't start right the way

2007-12-19 Thread Yue Fei
I have a multi thread python code, threads can start immediately if I run on command line, but I can get them started right the way if I call the same code from C/C++. test code like this: from threading import Thread import thread class testThread(Thread): def __init__ (self, id): T