Bläddra i källkod

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 år sedan
förälder
incheckning
8436198738
1 ändrade filer med 1 tillägg och 1 borttagningar
  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