Question

What is the appender for prlog4j2.xml in Pega 7.3.1 for daily log rolling?
Please inform what should be included and where in prlog4j2.xml for daily log rolling. Is the change needed for <TimeBasedTriggeringPolicy /> tag?
A part of prlog4j2.xml is given below:
<RollingRandomAccessFile name="PEGA" fileName="/pega/log1/PegaRULES-${date:yyyy-MM-dd}.log" filePattern="/pega/log1/PegaRULES-%d{MM-dd-yyyy}-%i.log.gz">
<PatternLayout>
<Pattern>%d [%20.20t] [%10.10X{pegathread}] [%20.20X{tenantid}] [%20.20X{app}] (%30.30c{3}) %-5p %X{stack} %X{userid} - %m%n</Pattern>
</PatternLayout>
<Filters>
<!--Deny message logged under ALERT log level-->
<ThresholdFilter level="ALERT" onMatch="DENY" onMismatch="NEUTRAL"/>
</Filters>
<Policies>
<TimeBasedTriggeringPolicy />
<SizeBasedTriggeringPolicy size="100 MB"/>
</Policies>
<DefaultRolloverStrategy max="20"/>
</RollingRandomAccessFile>