You can update the
prlog4j2.xml file or dynamic system setting to
cause a new log file to be created at the start of each day or on a periodic basis, rather than
only at startup. This is known as "rolling" the log file.
Pega Platform uses the RollingRandomAccessFileAppender from Log4j 2 as the default file appender. You can use a different log file appender. For more information, refer to the Log4j 2 documentation.