[Web-SIG] serving (potentially large) files through wsgi?
chris at simplistix.co.uk
Mon Jan 14 18:15:44 CET 2008
Phillip J. Eby wrote:
> At 02:03 PM 12/21/2007 +0000, Chris Withers wrote:
>> I think I'm missing something: what in the logging package makes you
>> log by which module issued the message?
> That's the conventional usage: modules that use logging usually use a
> static logger based on module name. Take a look at the distutils, for
Yeah, but I don't see anything in the logging package that enforces this
> It's not common for modules that do logging, to take logger objects as
> part of their API, and if they did, it would almost certainly suck.
Why would they need to? The logging module has its own registry of loggers.
getLogger('x.y.z') only creates a logger if it doesn't already exist...
Simplistix - Content Management, Zope & Python Consulting
More information about the Web-SIG