Phillip J. Eby wrote: >> 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... > > You're only shifting the issue from taking loggers as arguments, to > logger *names* as arguments.
Huh? How so? Just compute the logger name where you need it, or use a page path or however you want to slice'n'dice your loggers... Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk _______________________________________________ Web-SIG mailing list Web-SIG@python.org Web SIG: http://www.python.org/sigs/web-sig Unsubscribe: http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com