Discussion
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
Hi!
Thanks for posting your question here in the PDN forums. Not sure if you're aware but we have a new Product Support Community that just went live yesterday! I would like to invite you to post your question there. That will be the best place moving forward for you to receive assistance.