public List<String> getUploadLogFiles(ITestResult res)
   {
      List<String> testLogFiles = null;
      if (this.enableTestLogUpload) {
         if (this.uploadAllTestLogs || res.getStatus() != ITestResult.SUCCESS) {
            String testLogFile = (res.getTestName() != null ? res.getTestName()
                     : res.getTestClass().getName()) + ".log";
            testLogFiles = Arrays.asList(testLogFile);
         }
      }
      return testLogFiles;
   }