Question

3
Replies
1840
Views
karamjeetk6459 Member since 2017 1 post
Charles Schwab & Company Inc
Posted: 2 years ago
Last activity: 2 years 8 months ago
Closed

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" />

<param name="StringToMatch" value="true" />

<param name="AcceptOnMatch" value="true"/>

</filter>

<appender-ref ref="ENTERPRISE-LOGGING"/>

</appender>

Low-Code App Development Upgrades
Moderation Team has archived post
Share this page LinkedIn