Question

4
Replies
1552
Views
Gomerilk Member since 2017 26 posts
Vodafone Bilgi Ve Iletisim Hizmetleri A S
Posted: 2 years ago
Last activity: 2 years 5 months ago
Closed
Solved

Creating log file for request-response for service calls

Hi All,

I want to create custom log file for service calls. I red and watched all pdn support articles but ı dont know how to add appender just for service calls. If I used

<category name="Rule_Obj_Activity">
<priority value="info"/>
</category>
ı dont want to see all activity logs. what can ı use in a category and if there is a any customization for appender class I also dont know what should I write

<appender name="ServiceCalls" class="com.pega.pegarules.priv.util.DailySizeRollingFileAppenderPega">
<param name="FileNamePattern" value="'/u01/pega/pega_logs/PegaService-'yyyy-MMM-dd'.log'"/>
<param name="MaxFileSize" value="500MB" />
<layout class="com.pega.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d [%20.20t] [%20.20X{tenantid}] [%20.20X{app}] (%30.30c{3}) %-5p %X{stack} %X{userid} - %m%n"/>
</layout>
</appender

thanks.

Data Integration Java and Activities
Moderation Team has archived post
Share this page LinkedIn