Application logging to screen and file - any favorite modules (no luck on cheeseshop)

metaperl metaperl at gmail.com
Sat Sep 23 07:33:54 EDT 2006


Bjoern Schliessmann wrote:
> metaperl wrote:
>
> > Hello, I am looking for a module which has
> > * log levels
> > * output to stdout and file (either/or based on config)
> > * nicely formatted log output (e.g., indentation when appropriate)
>
> Sorry for being nosey, but how'd you use indentation in a log?

I guess I was thinking more along the lines of debugging. For example,
if you have two nested loops, you can increase the indentation level of
output as you move into each loop to show where the output is coming
from.




More information about the Python-list mailing list