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
- Update Pega 7.1.7 to Pega 7.3.0
- 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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.