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

Pega CTI logs are in Tomcat root folder

SA-22949

Summary



Pega CTI (Pega CALL 712 / CPM 712R2ML2) logs are getting created in Tomcat root folder, even after having the following setting in prlogging.xml:

<appender name="com.pega.pegacti" class="com.pega.apache.log4j.DailyRollingFileAppender">
<param name="DatePattern" value="'.'yyyy-MM-dd'.log'"/>
<param name="File" value="D:/PEGA_LOGS/ACMP/PegaCTI.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>
</appender>


Error Messages



Not Applicable.


Steps to Reproduce



Check Tomcat app server's root folder.

Pega CTI (Pega CALL) logs are getting created in Tomcat root folder, even after having the following setting in prlogging.xml
<appender name="com.pega.pegacti" class="com.pega.apache.log4j.DailyRollingFileAppender">
<param name="DatePattern" value="'.'yyyy-MM-dd'.log'"/>
<param name="File" value="D:/PEGA_LOGS/ACMP/PegaCTI.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>
</appender>


Root Cause



Bug with the logging appender.

Resolution



Apply HFix-21515.

VERSION tab should read: PegaCall Version 7.1.2.613 after import of jar and recycle of JVM.

The following syntax should be added to prlogging.xml file:
 
NOTE:  the \\ in the file path is for windows only. If *nix use single slashes.
 
--prlogging.xml syntax--
 
<!-- CTI logging config -->
<appender name="CTI" class="com.pega.apache.log4j.DailyRollingFileAppender">
<param name="DatePattern" value="'.'yyyy-MM-dd"/>
<param name="File" value="C:\\CTI\\PegaCTI.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>
</appender>


<!-- CTI logging config -->
<category name="com.pega.pegacti" additivity="false">
<priority value="debug" />
<appender-ref ref="CTI"/>
</category>

 

Published May 13, 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