The information in this article applies to:
Product: MIM PM4Data
Version: 8.1.x
Platform: Open Systems
Issue
By default, the MIM/PM4Data application records daily logs in one of the following directories, depending on the operating system:
C:\\CQ\\eccc\\jboss\\server\\default\\log
/opt/CQ/eccc/jboss/server/default/log
Because this configuration allows logs to grow, regardless of file size, it may lead to problems with disk space.
Resolution
One resolution is to configure circular logging. This can be done by changing the DailyRollingFileAppender to a RollingFileAppender. Instead of keeping a log per day, this will keep logs up to a specified size. In the XML file here CQ\\eccc\\jboss\\server\\default\\conf\\log4j.xml, replace the default section that follows with the section below it.
DailyRollingFileAppender (default)
RollingFileAppender (new)
The user can adjust MaxFileSize and MaxBackupIndex as needed.