code: private void addWinsStdoutStderrLog(List<java.util.concurrent.Callable<List<FileContent>>> tasks, final Node node, final SmartLogFetcher logFetcher) {
          final FilePath rootPath = node.getRootPath();
          if (rootPath != null) {
              // rotated log files stored on the disk
              tasks.add(new java.util.concurrent.Callable<List<FileContent>>(){
                  public List<FileContent> call() throws Exception {
                      List<FileContent> result = new ArrayList<FileContent>();
                      final Map<String, File> logFiles = logFetcher.forNode(node).getLogFiles(rootPath);
                      for (Map.Entry<String, File> entry : logFiles.entrySet()) {
                          result.add(new FileContent(
                                  "nodes/slave/{0}/logs/winsw/{1}", new String[] {node.getNodeName(), entry.getKey()},
                                  entry.getValue(), FileListCapComponent.MAX_FILE_SIZE)
                          );
                      }
                      return result;
                  }
              });
          }
      }
docs: Captures stdout/stderr log files produced by winsw.