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.

def set_level(self, command):
        """
        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.
        """
        if not command.console_only:
            self.log.setLevel(command.level)

        self.console_level = command.level