My first try using logger didn't work. Why?

2007-01-19 Thread CedricCicada
Greetings! I want to write messages into the Windows event log. I found sevicemanager, but the source is always Python Service, and I'd like to be a bit more descriptive. Poking around on the Internet revealed the existence of the logging module. It seems to have easily understood methods with

Re: My first try using logger didn't work. Why?

2007-01-19 Thread Vinay Sajip
[EMAIL PROTECTED] wrote: Greetings! I want to write messages into the Windows event log. I found sevicemanager, but the source is always Python Service, and I'd like to be a bit more descriptive. Poking around on the Internet revealed the existence of the logging module. It seems to have

Re: My first try using logger didn't work. Why?

2007-01-19 Thread CedricCicada
Beautiful! Thank you very much! One of the problems I was laboring under was that I did not know where to go to find the official documentation. Thanks for that link too! Rob -- http://mail.python.org/mailman/listinfo/python-list

Re: My first try using logger didn't work. Why?

2007-01-19 Thread CedricCicada
Vinay (or anybody else), Well, now that logging is working, how do I stop it from working? I'm developing in PythonWin. When I run my test script, I get one message. When I run it a second time, I get two, a third time gets me three, and so on. I feel like the Sorceror's Apprentice! Rob --

Re: My first try using logger didn't work. Why?

2007-01-19 Thread Gabriel Genellina
At Friday 19/1/2007 15:59, [EMAIL PROTECTED] wrote: One of the problems I was laboring under was that I did not know where to go to find the official documentation. Thanks for that link too! You already have it installed; look into your python install directory, under doc From inside the

Re: My first try using logger didn't work. Why?

2007-01-19 Thread Vinay Sajip
[EMAIL PROTECTED] wrote: Vinay (or anybody else), Well, now that logging is working, how do I stop it from working? I'm developing in PythonWin. When I run my test script, I get one message. When I run it a second time, I get two, a third time gets me three, and so on. I feel like the