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

prlog4j2 format does not allow the filename to be generated

SA-81465

Summary



When combining PegaRULES and PegaBIX logs to a single document, Business Intelligence Exchange (BIX) overwrites the existing rules logs each time an extract starts.


Error Messages



Not Applicable


Steps to Reproduce



Not Applicable


Root Cause



This design is not recommended since it may cause performance issues and issues in readability during debugging.
Additionally, Log4j2 does not support multiple appenders from entering the same file for file locking and synchronization problems. Hence, this caused the BIX logs to overwrite the PegaRULES logs.



Resolution



Perform the following local-change:
  1. Comment out or remove the RollingRandomAccessFile appender for BIX.
  2. Use a single appender for Pega and BIX.
  3. Modify the Logger section for each BIX logger to refer to the Pega appender such that they are written in the same file.

    For example,

    <Logger name="com.pega.pegarules.data.internal.access.ExtractImpl" additivity="false" level="info">
    <AppenderRef ref="PEGA"/>
    </Logger>

Published August 15, 2019 - 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