def _configure_root_logger(self):
root_logger = logging.getLogger()<EOL>root_logger.setLevel(logging.DEBUG)<EOL>if self.args.verbose:<EOL><INDENT>handler = logging.StreamHandler(sys.stdout)<EOL><DEDENT>else:<EOL><INDENT>handler = logging.handlers.RotatingFileHandler(<EOL>common.LOG_FILE,<EOL>maxBytes=common.MAX_LOG_SIZE,<EOL>backupCount=common.MAX_LOG_COUNT<EOL>)<EOL>handler.setLevel(logging.INFO)<EOL><DEDENT>handler.setFormatter(logging.Formatter(common.LOG_FORMAT))<EOL>root_logger.addHandler(handler)<EOL>
Initialise logging system