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

Time based rolling policy does not work

SA-46212

Summary



Log files are not getting compressed through prlogging.xml file by updating the compression format in file pattern.


Error Messages



Not Applicable


Steps to Reproduce



1. From ear file, extract prlogging.xml.
2. Edit with the .zip format in file pattern and save the prlogging.
3. Repackage ear file.
4. Redeploy the ear file in jboss.


Root Cause



Issue with the log4j that rollingfile does not compress the files but only create the files in .zip or .gz format...This issue is solved in log4j2.6.2 version but the log4j used in Pega 7.2.1 is log4j1.2.14 version.

Resolution



As part of all the versions prior to Pega 7.2.2 the log4j version used is log4j1.2.14 and log4j2.6.2 has been implemented from Pega 7.2.2 version and the issue is solved from log4j2.6.2 version.

Suggest Edit

Published November 8, 2017 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

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