فهرست منبع

HPCC-21804 Add encode to wslogserviceespagent.xsl

Also set shared tank file as default

Signed-off-by: wangkx <kevin.wang@lexisnexis.com>
wangkx 6 سال پیش
والد
کامیت
b651d5ba58

+ 1 - 1
esp/logging/loggingmanager/loggingmanager.cpp

@@ -40,7 +40,7 @@ bool CLoggingManager::init(IPropertyTree* cfg, const char* service)
         return false;
     }
 
-    oneTankFile = cfg->getPropBool("FailSafe");
+    oneTankFile = cfg->getPropBool("FailSafe", true);
     if (oneTankFile)
     {
         logFailSafe.setown(createFailSafeLogger(cfg, service, cfg->queryProp("@name")));

+ 1 - 1
initfiles/componentfiles/configxml/@temp/wslogserviceespagent.xsl

@@ -65,7 +65,7 @@ xmlns:set="http://exslt.org/sets">
                 
             <LogDataXPath>
                 <xsl:for-each select="$agentNode/LogDataItem">
-                    <LogDataItem name="{current()/@name}" XPath="{current()/@xpath}" xsl="{current()/@xsl}" default="{current()/@default}"/>
+                    <LogDataItem name="{current()/@name}" XPath="{current()/@xpath}" xsl="{current()/@xsl}" encode="{current()/@encode}" default="{current()/@default}"/>
                 </xsl:for-each>
                 <xsl:for-each select="$agentNode/LogInfo">
                     <LogInfo name="{current()/@name}" default="{current()/@default}" XPath="{current()/@xpath}" xsl="{current()/@xsl}" multiple="{current()/@multiple}" encode="{current()/@encode}" type="{current()/@type}"/>