If the configuration as shown "srv.%d{HH}.%i.log",then the first file will be deleted at the time of first initialized.

if the configuration as shown
<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