Discussion

3
Replies
168
Views
Anandh Palanisamy (Anandh Palanisamy)
Ford Motor Company

Ford Motor Company
US
Anandh Palanisamy Member since 2013 62 posts
Ford Motor Company
Posted: July 6, 2016
Last activity: April 6, 2017
Posted: 6 Jul 2016 16:52 EDT
Last activity: 6 Apr 2017 6:26 EDT
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, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Discussion, please write a new Discussion.