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

Robert Kern robert.kern at gmail.com
Sat Sep 23 02:04:58 EDT 2006


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)
> 
> I tried to use cheeseshop to find such a module, but came up short. I
> clicked on
> Browse Tree -> Software Development but then did not see a subcategory
> for logging, so did not know where to look. I then typed log into the
> search box, but that didn't really turn up the modules which had login
> their description so I posted here.

You should look in the standard library before hitting the Package Index.

http://www.python.org/doc/current/lib/module-logging.html

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco




More information about the Python-list mailing list