public Vector getInstanceLogFileNames(Habitat habitat, Server targetServer, Domain domain, Logger logger,
String instanceName, String instanceLogFileDirectory) throws IOException {
// helper method to get all log file names for given instance
String sNode = targetServer.getNodeRef();
Node node = domain.getNodes().getNode(sNode);
Vector instanceLogFileNames = new Vector();
Vector instanceLogFileNamesAsString = new Vector();
// this code is used when DAS and instances are running on the same machine
if (node.isLocal()) {
String loggingDir = getLoggingDirectoryForNode(instanceLogFileDirectory, node, sNode, instanceName);
File logsDir = new File(loggingDir);
File allLogFileNames[] = logsDir.listFiles();