class_docstr: This class contains environment variables.
class_docstr_tok: ["This","class","contains","environment","variables","."]
docstr: Setter for `third_party_log_level` to control the standard python logging behavior of used libraries.
  
  Affected libraries: paramiko
  
  Note:
      The class variable `third_party_log_level` defaults to `logging.Error`, e.g. only paramiko errors
      will be shown.
  
  Args:
      log_level: Standard python log level values as defined in `logging` like `logging.ERROR`.
docstr_tok: ["Setter","for","`","third_party_log_level","`","to","control","the","standard","python","logging","behavior","of","used","libraries",".","Affected","libraries",":","paramiko","Note",":","The","class","variable","`","third_party_log_level","`","defaults","to","`","logging.Error","`",",","e.g",".","only","paramiko","errors","will","be","shown",".","Args",":","log_level",":","Standard","python","log","level","values","as","defined","in","`","logging","`","like","`","logging.ERROR","`","."]
code: def set_third_party_log_level(cls, log_level: int) -> None:
      """Setter for `third_party_log_level` to control the standard python logging behavior of used libraries.
  
      Affected libraries: paramiko
  
      Note:
          The class variable `third_party_log_level` defaults to `logging.Error`, e.g. only paramiko errors
          will be shown.
  
      Args:
          log_level: Standard python log level values as defined in `logging` like `logging.ERROR`.
      """
      logging.getLogger("paramiko").setLevel(log_level)
      logging.getLogger("invoke").setLevel(log_level)
  
      if log_level == logging.ERROR or log_level == logging.CRITICAL:
          logging.basicConfig(
              format="[%(levelname)s] %(message)s", level=logging.INFO
          )
      else:
          logging.basicConfig(
              format="[%(levelname)s] %(name)s %(message)s",
              level=logging.INFO,
          )
  
file_path: lazycluster/src/lazycluster/utils.py
imports: import logging
  import os
  import time
label_desc: Use image node_id 2 for calling the Environment obj's underlying member method code with example usage: obj.set_third_party_log_level(cls, log_level) without return types