소스 검색

HPCC-19343 Include ThorSlave log into ZAP report by default

If the IncludeThorSlaveLog option is not specified inside the
ZAP request, the ZAP report should include the ThorSlave log.

Signed-off-by: wangkx <kevin.wang@lexisnexis.com>
wangkx 6 년 전
부모
커밋
8436198738
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      esp/services/ws_workunits/ws_workunitsHelpers.cpp

+ 1 - 1
esp/services/ws_workunits/ws_workunitsHelpers.cpp

@@ -3719,7 +3719,7 @@ void CWsWuFileHelper::createWUZAPFile(IEspContext& context, Owned<IConstWorkUnit
     createZAPWUGraphProgressFile(request.wuid.str(), inFileNamePrefixWithPath.str());
     createProcessLogfile(cwu, winfo, "EclAgent", folderToZIP.str());
     createProcessLogfile(cwu, winfo, "Thor", folderToZIP.str());
-    if (strieq(request.includeThorSlaveLog.str(), "on"))
+    if (request.includeThorSlaveLog.isEmpty() || strieq(request.includeThorSlaveLog.str(), "on"))
         createThorSlaveLogfile(cwu, winfo, folderToZIP.str());
 
     //Write out to ZIP file