import logging
from logging import *


class Logger(logging.Logger):

    def getChild(self, suffix):
        """
        (copied from module "logging" for Python 3.4)

        Get a logger which is a descendant to this one.

        This is a convenience method, such that

        logging.getLogger('abc').getChild('def.ghi')

        is the same as

        logging.getLogger('abc.def.ghi')

        It's useful, for example, when the parent logger is named using
        __name__ rather than a literal string.
        """
        if self.root is not self:
            suffix = '.'.join((self.name, suffix))
        return self.manager.getLogger(suffix)



import logging
from logging import *


class Logger26(logging.getLoggerClass()):

    def getChild(self, suffix):
        """
        (copied from module "logging" for Python 3.4)

        Get a logger which is a descendant to this one.

        This is a convenience method, such that

        logging.getLogger('abc').getChild('def.ghi')

        is the same as

        logging.getLogger('abc.def.ghi')

        It's useful, for example, when the parent logger is named using
        __name__ rather than a literal string.
        """
        if self.root is not self:
            suffix = '.'.join((self.name, suffix))
        return self.manager.getLogger(suffix)


logging.setLoggerClass(Logger26)

--- 
+++ 
@@ -2,7 +2,7 @@
 from logging import *
 
 
-class Logger26(logging.getLoggerClass()):
+class Logger(logging.Logger):
 
     def getChild(self, suffix):
         """
@@ -26,4 +26,3 @@
         return self.manager.getLogger(suffix)
 
 
-logging.setLoggerClass(Logger26)
Implement backport of logging package for 2.6

debugging 3
