Question
Charles Schwab & Company Inc
US
Last activity: 6 Apr 2018 19:26 EDT
updating prlog4j2.xml for Pega 7.3
Pega replaced the prlogging.xml with prlog4j2.xml in 7.3 version.
I am trying to update the prlog4j2.xml file for Pega7.3 for the ENTERPRISE LOGGING. However not able to put some content as was before present in prlogging.xml in 6.3.
Tried looking on internet however did not get any Info. Please help how to include the below content in in prlog4j2.xml.
<appender name="ASYNC-ENTERPRISE-LOGGING" class="com.pega.apache.log4j.AsyncAppender">
<filter class="com.pega.apache.log4j.varia.LevelMatchFilter">
<param name="LevelToMatch" value="ALERT"/>
<param name="AcceptOnMatch" value="false"/>
</filter>
<filter class="com.pega.apache.log4j.varia.DenyAllFilter"/>
<filter class="com.pega.pegarules.priv.MDCMatchFilter">
<!-- TagToMatch must match the tag set by the activity rule to enable MDC -->
<param name="TagToMatch" value="EnterpriseLogging" />
Pega replaced the prlogging.xml with prlog4j2.xml in 7.3 version.
I am trying to update the prlog4j2.xml file for Pega7.3 for the ENTERPRISE LOGGING. However not able to put some content as was before present in prlogging.xml in 6.3.
Tried looking on internet however did not get any Info. Please help how to include the below content in in prlog4j2.xml.
<appender name="ASYNC-ENTERPRISE-LOGGING" class="com.pega.apache.log4j.AsyncAppender">
<filter class="com.pega.apache.log4j.varia.LevelMatchFilter">
<param name="LevelToMatch" value="ALERT"/>
<param name="AcceptOnMatch" value="false"/>
</filter>
<filter class="com.pega.apache.log4j.varia.DenyAllFilter"/>
<filter class="com.pega.pegarules.priv.MDCMatchFilter">
<!-- TagToMatch must match the tag set by the activity rule to enable MDC -->
<param name="TagToMatch" value="EnterpriseLogging" />
<param name="StringToMatch" value="true" />
<param name="AcceptOnMatch" value="true"/>
</filter>
<appender-ref ref="ENTERPRISE-LOGGING"/>
</appender>