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

Post update, prlogging.xml or prlog4j2.xml is missing

SA-54329

Summary



Post update to Pega 7.3.0, prlogging.xml or prlog4j2.xml are missing. Hence, Pega logs are not generated in the directory of choice.


Error Messages



Not Applicable


Steps to Reproduce

  1. Update Pega 7.1.7 to Pega 7.3.0
  2. Modify prlog4j2.xml (or prlogging.xml) and update Pega appender with the environment variable that is defined in an application server and points to the directory of choice.

    <RollingRandomAccessFile  name="PEGA" fileName="${your.log.path}/PegaRULES.log" filePattern="${your.log.path}/PegaRULES-%d{MM-dd-yyyy}-%i.log.gz">


Root Cause



The System environment variable was not prefixed with 'sys:'.


Resolution



Update prlog4j2.xml Pega appender to use the 'sys:' prefix.

<RollingRandomAccessFile  name="PEGA" fileName="${sys:your.log.path}/PegaRULES.log" filePattern="${sys:your.log.path}/PegaRULES-%d{MM-dd-yyyy}-%i.log.gz">


 

Published July 23, 2018 - Updated October 8, 2020

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