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

Compile issue when to start Pega Call logging

SA-59164

Summary



Activity error in the Tracer when starting Pega Call logging.


Error Messages



Error messages in the Tracer:


Failed to compile generated Java com.pegarules.generated.activity.ra_action_savelogginglevel_71134b3c1098cd8dfe29a97917f2fdc2:
1. ERROR in /com/pegarules/generated/activity/ra_action_savelogginglevel_71134b3c1098cd8dfe29a97917f2fdc2.java (at line 226)
com.pega.apache.log4j.Logger oLog = com.pega.apache.log4j.Logger

com.pega.apache.log4j cannot be resolved to a type

2. ERROR in /com/pegarules/generated/activity/ra_action_savelogginglevel_71134b3c1098cd8dfe29a97917f2fdc2.java (at line 226)
com.pega.apache.log4j.Logger oLog = com.pega.apache.log4j.Logger

com.pega.apache.log4j.Logger cannot be resolved to a type

3. ERROR in /com/pegarules/generated/activity/ra_action_savelogginglevel_71134b3c1098cd8dfe29a97917f2fdc2.java (at line 229)
com.pega.apache.log4j.Level lev = com.pega.apache.log4j.Level

com.pega.apache.log4j cannot be resolved to a type

4. ERROR in /com/pegarules/generated/activity/ra_action_savelogginglevel_71134b3c1098cd8dfe29a97917f2fdc2.java (at line 229)
com.pega.apache.log4j.Level lev = com.pega.apache.log4j.Level

com.pega.apache.log4j.Level cannot be resolved to a type

5. ERROR in /com/pegarules/generated/activity/ra_action_savelogginglevel_71134b3c1098cd8dfe29a97917f2fdc2.java (at line 230)
.toLevel(LogLevel, com.pega.apache.log4j.Level.INFO);

com.pega.apache.log4j.Level cannot be resolved to a type

5 problems (5 errors)
Compile failed.



Steps to Reproduce

  1. Log in to the application.
  2. Navigate to Designer Studio > Channel Services > Pega Call > Tools and Settings.
  3. Enable logging through the Set button. The activity stops working.


Root Cause



In Pega 7.3, log4j was modified which resulted in appender errors.


Resolution



Apply HFix-44365.


 

Published July 23, 2018 - 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