Jorge Vargas wrote: > On 10/4/06, Steve Holden <[EMAIL PROTECTED]> wrote: > >>1. How do we generate log.debug output? I'd rather not have to analyse >>the code to determine the option(s) to set if someone wouldn't mind >>putting me straight. Couldn't find it in the docs. >> > > standard python logging, you know how to use it then just start :) > > docs here http://trac.turbogears.org/turbogears/wiki/logging > > I made that so someone that doesn't knows python's logging module will > get it working so it's a tutorial for both python and TG debugging > Thanks. I always feel as thick as a plank when I have to configure logging. For what I want it's usually overkill by a factor of ten or so, and far from easy to configure. Your hints will be very valuable.
> >>2. Does anyone use Wing IDE with TG? When I run my app-start.py script >>under Wing it terminates after about ten seconds - Wing suggest this is >>possibly due to a threading issue. >> > > TG/CherryPy launches many threads by default, maybe WingIDE doesn't > supports that? > it could also be the autoreload pydev has problems with it too. > > check the config files, to reduce the threads to 1 and turn off > autoreload, your problem may be there. > Now there you go, you see: if I'd only known that there *was* a "threads" configuration item I wouldn't have needed to bother the list. Thanks again. regards Steve -- Steve Holden +44 150 684 7255 +1 800 494 3119 Holden Web LLC/Ltd http://www.holdenweb.com Skype: holdenweb http://holdenweb.blogspot.com Recent Ramblings http://del.icio.us/steve.holden --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~----------~----~----~----~------~----~------~--~---

