code: def set_loglevel(self, level):
          
          self.log_level = level
          log_manager.config_stdio(default_level=level)
docs: Set the minimum loglevel for all components
  
          Args:
              level (int): eg. logging.DEBUG or logging.ERROR. See also https://docs.python.org/2/library/logging.html#logging-levels