Question

10
Replies
991
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: July 14, 2016
Posted: 6 Jul 2016 22:23 EDT
Last activity: 14 Jul 2016 16:23 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

 

***Mod edit- Included Category***

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 Question, please write a new Question.