Looking at the log4j2 file template at link https://github.com/corda/corda/blob/release/os/4.10/config/dev/log4j2.xml it appears that line https://github.com/corda/corda/blob/release/os/4.10/config/dev/log4j2.xml#L138C21-L138C61 is deleting a wrong file. Should it be <IfFileName glob="${diagnostic-log-name}*.log.gz"/> instead? Similarly, for line https://github.com/corda/corda/blob/release/os/4.10/config/dev/log4j2.xml#L162C47-L162C47, should it be <IfFileName glob="checkpoints_agent*.log.gz"/>