By default, nnl.log can grow to 10 MB and nnlgateway.log to 1 MB before rolling over. To modify:
If you are configuring nnl.log, search log4j2-nnl.xml for the RollingFile element pertaining to it. Otherwise, skip this step.
<RollingFile fileName="${sys:catalina.base}/logs/nnl.log"To change the maximum size of a log file, find the following string in this section.
<SizeBasedTriggeringPolicyChange the size parameter to what you want.
<SizeBasedTriggeringPolicy size="9 MB"/>