code: def set_global_logging_level(level=logging.ERROR, prefices=[""]):
      """
      Override logging levels of different modules based on their name as a prefix.
      It needs to be invoked after the modules have been loaded so that their loggers have been initialized.
  
      Args:
          - level: desired level. e.g. logging.INFO. Optional. Default is logging.ERROR
          - prefices: list of one or more str prefices to match (e.g. ["transformers", "torch"]). Optional.
            Default is `[""]` to match all active loggers.
            The match is a case-sensitive `module_name.startswith(prefix)`
      """
      prefix_re = re.compile(rf'^(?:{ "|".join(prefices) })')
      for name in logging.root.manager.loggerDict:
          if re.match(prefix_re, name):
              logging.getLogger(name).setLevel(level)
  
imports: import logging
  import os
  import re
  import warnings
  from distutils.util import strtobool
  from packaging import version
  import codecs
  import copy
  import csv
  import glob
  import gzip
  import itertools
  import json
  import math
  import mimetypes
  import operator
  import os
  import os.path
  import pickle
  import random
  import re
  import shutil
  import string
  import sys
  import tempfile
  import urllib.request
  import zipfile
  from abc import ABC, abstractmethod
  from collections import Counter
  from distutils.version import StrictVersion
  import numpy
  from matplotlib import pyplot
  from matplotlib.colors import rgb2hex
  import joblib
  import pandas
  import sklearn
  from scipy import sparse
  from scipy.sparse import csr_matrix
  from sklearn.base import BaseEstimator, TransformerMixin
  from sklearn.datasets import load_files
  from sklearn.decomposition import NMF, LatentDirichletAllocation
  from sklearn.feature_extraction.text import CountVectorizer, TfidfVectorizer
  from sklearn.manifold import TSNE
  from sklearn.metrics import classification_report, confusion_matrix
  from sklearn.model_selection import train_test_split
  from sklearn.preprocessing import LabelEncoder
  import requests
  from requests.packages.urllib3.exceptions import InsecureRequestWarning
  import charset_normalizer
  import jieba
  import langdetect
  import syntok.segmenter
label_desc: Use image node_id 2 for calling a global function with example usage: set_global_logging_level(level, prefices) without return types