Pega 8.8.4 Log Rotation Issue (Tomcat 9)

Hi,

We are experiencing an issue with our Pega log rotation process. The log files are not being generated on a daily basis as expected. Instead, the existing log file is being overwritten after midnight (12:00 AM), preventing us from maintaining historical logs for troubleshooting purposes.

Environment Details:

  • Pega Platform Version: 8.8.4
  • Application Server: Tomcat 9

Any help is much appreciated. Thanks in advance!!

@mashwani Pega’s default time-based rotation is on a daily basis, which is specified in the filePattern in prlog4j2.xml. If the log files are not being generated daily, it could be due to incorrect settings in the prlog4j2.xml file. You can check the TimeBasedTriggeringPolicy and SizeBasedTriggeringPolicy settings in this file. If you want to disable time-based policy, you can comment out . If you want to disable size-based policy, you can comment out . However, it is not recommended to disable both policies as this could lead to a very large PegaRULES.log file. If the issue persists, you may need to contact Pega Support for further assistance.

:warning: This is a GenAI-powered tool. All generated answers require validation against the provided references.

Understanding PegaRULES logs

Rolling a log file

DailyRollingFileAppenderPega is not working in PRPC 7.1.5

If you need an in-depth investigation please log a support issue via the MSP and provide the INC id here so we can help track it.