public static void startClientThreads(String[] hosts, String command, boolean isLogTest) {
		//put ClientThreads in an arrayList for easier management
		ArrayList<LoggingClientThread> lct = new ArrayList<LoggingClientThread>();
		String tempCommand = command;
		//start each client thread and wait for
		//them to finish processing the command
		if(!command.trim().equals("")) {
		    for(int i=0;i<hosts.length;i++) {
		    	String[] host = hosts[i].split(",");
		    	if(!host[0].equals("") && !host[1].equals("")) {
		    		//add the server log file name if it is the unit test
		    		if(isLogTest) 
		    			command = tempCommand + "machine." + i + ".log";
		            lct.add(new LoggingClientThread(host[0], Integer.parseInt(host[1]), command, isLogTest));
		            lct.get(i).start();	
		    	}
		    }	        
		    
		    //wait for all threads to return
		    for(int i=0;i<lct.size();i++){
		    	try {
					lct.get(i).join();
				} catch (InterruptedException e) {
					e.printStackTrace();
				}
		    }
		}

	
	}