In Django, I\'ve got loggers all over the place, currently with hard-coded names.
For module-level logging (i.e., in a module of view functions) I have the urge to d
That looks like it will work, except that self won't have a __module__ attribute; its class will. The class-level logger call should look like:
self
__module__
self.log = logging.getLogger( "%s.%s" % ( self.__class__.__module__, self.__class__.__name__ ) )