Re: logging module example

2006-01-01 Thread Chris Smith
One thing that made little sense to me when I was first working on this is the following variation on the original script: #--begin test script-- import logging forest = ["root","trunk","branch","leaf"] lumber_jack = {forest[0] : logging.DEBUG ,forest[1] : logging.INFO

Re: logging module example

2005-12-31 Thread Chris Smith
> "Diez" == Diez B Roggisch <[EMAIL PROTECTED]> writes: Diez> Chris Smith schrieb: >> Hola, pythonisas: The documentation for the logging module is >> good, but a bit obscure. In particular, there seems to be a >> lot of action at a distance. The fact that getLogger() can

Re: logging module example

2005-12-31 Thread Diez B. Roggisch
Chris Smith schrieb: > Hola, pythonisas: > The documentation for the logging module is good, but a bit obscure. > In particular, there seems to be a lot of action at a distance. > The fact that getLogger() can actually be a call to Logger.__init__(), > which is mentioned in para 6.29.1, also bea

logging module example

2005-12-31 Thread Chris Smith
Hola, pythonisas: The documentation for the logging module is good, but a bit obscure. In particular, there seems to be a lot of action at a distance. The fact that getLogger() can actually be a call to Logger.__init__(), which is mentioned in para 6.29.1, also bears stressing on 6.29. I grasp