Python equivalent for C module

Vinay Sajip vinay_sajip at
Tue Oct 21 09:38:01 CEST 2008

On Oct 20, 9:08 pm, u... at asus-190829777.TeleWell.gateway (Ville M.
Vainio) wrote:
> Unfortunately these square-wheeled homegrown solutions are easier to
> grok than the standardloggingmodule. It seems to target more
> "serious" applications at the cost of feeling a bit too clunky for
> quick hack jobs.

I'm surprised to hear you say that. All you need is

import logging

logging.warning("Message with %s data", "variable") # or debug, info,

and I'd like to know what simpler interface you think would be better/
easier to grok for quick hack jobs.


Vinay Sajip

More information about the Python-list mailing list