def _do_default(self, line):
        length = len(line)
        if length < 2:
            return

        for index in range(0, length, 2):
            if index == length - 1:
                break
            path = strip_string(line[index + 1])
            prefix = strip_string(line[index])
            server_logs_added, error = self.logger.add_server_logs(prefix, path)
            if server_logs_added==1:
                print "%d server log added for server analysis."%(server_logs_added)
            elif server_logs_added>1:
                print "%d server logs added for server analysis."%(server_logs_added)

            if error:
                print "\n" + terminal.fg_red() + error + terminal.fg_clear()
dataset/ETHPy150Open aerospike/aerospike-admin/lib/logcontroller.py/AddServerController._do_default/original