code: def set_level(self, command):
          
          if not command.console_only:
              self.log.setLevel(command.level)
  
          self.console_level = command.level
docs: Defines the logging level (from standard logging module) for log messages.
          :param command: The command object that holds all the necessary information from the remote process.