if the configuration "srv.%d{HH}.%i.log " the first file Will be deleted.

<fileNamePattern >/srv/srv1.%d
{HH}.%i.log
</fileNamePattern >
or
<fileNamePattern >/srv/srv1.%d{HH}
.log
</fileNamePattern >
the first file Will be deleted.

14:05:29,003 |-INFO in c.q.l.co.rolling.helper.RenameUtil - Renaming file [\apps\logs\log1\srv\srv.log] to [\apps\logs\log1\srv\srv.13.log]
14:05:29,004 |-INFO in c.q.l.core.rolling.helper.TimeBasedArchiveRemover - first clean up after appender initialization
14:05:29,004 |-INFO in c.q.l.core.rolling.helper.TimeBasedArchiveRemover - periodsElapsed = 336
14:05:29,006 |-INFO in c.q.l.core.rolling.helper.TimeBasedArchiveRemover - deleting \apps\logs\log1\srv\srv.13.log