def setup_logging():
    root_logger = logging.getLogger()
    root_logger.setLevel(logging.INFO)
    logger = logging.StreamHandler()
    logger.setFormatter(logging.Formatter('%(asctime)s %(levelname)s - [%(thread)d] %(name)s - %(message)s'))
    root_logger.addHandler(logger)
def setup_logging():
    root_logger = logging.getLogger()
    root_logger.setLevel(logging.INFO)
    logger = logging.StreamHandler()
    logger.setFormatter(logging.Formatter('%(asctime)s %(levelname)s - [%(thread)d] %(name)s - %(message)s'))
    root_logger.addHandler(logger)