Discussion

3
Replies
161
Views
Anandh Palanisamy Member since 2013 62 posts
Ford Motor Company
Posted: 4 years ago
Last activity: 4 years 2 months ago
Closed

Fliter is not working in the prlogging.xml

Hi,

We have implemented filter in our prlogging,xml to not write some content in the PegaRules logs.

After we deploy the updated prlogging.xml, still its writing those logs into PegaRules log.

Here the below custom change on PegaRules appenders,

<appender name="PEGA" class="com.pega.apache.log4j.RollingFileAppender">
<param name="MaxFileSize" value="25MB"/>
<param name="MaxBackupIndex" value="5"/>
<param name="File" value="${pega.logdir}_PegaRULES.log"/>
<layout class="com.pega.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d [%20.20t] [%10.10X{pegathread}] [%20.20X{app}] (%30.30c{3}) %-5p %X{stack} %X{userid} - %m%n"/>
</layout>

<filter class="com.pega.apache.log4j.varia.StringMatchFilter">
<param name="StringToMatch" value="Violation of PRIMARY KEY constraint 'pr_Ford_FW_Data_DMSRequestXMLFiles_PK'" />
<param name="AcceptOnMatch" value="false" />
</filter>
</appender

We are running PRPC 6.2sp2, do we need add any more entry in the prlogging.xml?

Regards,

Anandh

***Updated by moderator: Lochan to add Categories; close post as duplicate***

Original Post: Fliter is not working in the prlogging.xml

System Administration
Moderation Team has archived post
Share this page LinkedIn