public void logShip (String mmsi)	{
		UserIdentifier uid=new UserIdentifier();
		// First check if a ship has already been logged and is in the list
		int a;
		for (a=0;a<listLoggedShips.size();a++)	{
			if (listLoggedShips.get(a).getMmsi().equals(mmsi))	{
				// Increment the log count and return
				listLoggedShips.get(a).incrementLogCount();
				return;
			}
		}
		// Now check if the ship is in ships.xml
		Ship loggedShip=uid.getShipDetails(mmsi);
		// If null then we need to create a ship object
		if (loggedShip==null)	{
			Ship newShip=new Ship();
			newShip.setMmsi(mmsi);
			newShip.incrementLogCount();
			listLoggedShips.add(newShip);
		}
		else	{
			// Increment the ship objects log counter and add it to the list
			loggedShip.incrementLogCount();
			listLoggedShips.add(loggedShip);
		}	
	}