Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Rollingg PegaCall Link engine log file on a daily basis

SA-5643

Summary



What configuration changes are required to direct CTI log events to a separate log file and roll that log file on a daily basis?

Resolution



Here is the example configuration for the prlogging.xml:

<appender class="com.pega.apache.log4j.DailyRollingFileAppender" name="CTI">
<param name="DatePattern" value="'.'yyyy-MM-dd"/>
<param name="File" value="${pegawsp.logpath}/PegaCTI.log"/>
<layout class="com.pega.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d [%20.20t] (%30.30c{3}) %-5p %X{stack} %X{userid} - %m%n"/>
</layout>
</appender>


Here is the corresponding example configuration that needs to be added to the application server's server.xml configuration file (the path value configured for the /logs/wtp):

<systemProperties xmi:id="Property_1300000006909" name="pegawsp.logpath" value="/logs/wspemea" required="false"/> 

Published December 9, 2016 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us