def _initialize_logging(self, name):
        
        formatter = logging.Formatter("%(levelname)-7s %(module)s.%(funcName)s: %(message)s")
        handler = logging.StreamHandler(sys.stderr)
        handler.setFormatter(formatter)

        root_logger = logging.getLogger()
        log_level = os.getenv("RWB_LOG_LEVEL", logging.WARN)
        try:
            root_logger.setLevel(log_level)
        except __HOLE__:
            root_logger.setLevel(logging.DEBUG)
            root_logger.debug("unknown log level '%s'; DEBUG will be used instead" % log_level)
            log_level = logging.DEBUG
        self.log = logging.getLogger(type(self).__name__)
        self.log.setLevel(log_level)
        self.log.addHandler(handler)
        self.log.propagate = False
dataset/ETHPy150Open boakley/robotframework-workbench/rwb/lib/rwbapp.py/AbstractRwbApp._initialize_logging