Question

4
Replies
1728
Views
Gokce lkinonu (Gomerilk)
Vodafone Bilgi Ve Iletisim Hizmetleri A S

Vodafone Bilgi Ve Iletisim Hizmetleri A S
TR
Gomerilk Member since 2017 26 posts
Vodafone Bilgi Ve Iletisim Hizmetleri A S
Posted: March 26, 2018
Last activity: April 3, 2018
Posted: 26 Mar 2018 8:17 EDT
Last activity: 3 Apr 2018 1:31 EDT
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, 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.