Question
Vodafone Bilgi Ve Iletisim Hizmetleri A S
TR
Last activity: 3 Apr 2018 1:31 EDT
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.