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.
@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.
This is a GenAI-powered tool. All generated answers require validation against the provided references.