reading config file test-config.88
Creating stub state file: state
acquired lock on state file state
Reading state from file: state
Allocating hash table for state file, size 64 entries

Handling 1 logs

rotating pattern: /usr/lib/logrotate/ptest/test-0088/test.log forced from command line empty log files are rotated, no old logs will be kept
considering log /usr/lib/logrotate/ptest/test-0088/test.log
Creating new state
  Now: 2025-04-12 04:58
  Last rotated at 2025-04-12 04:00
  log needs rotating
rotating log /usr/lib/logrotate/ptest/test-0088/test.log, log->rotateCount is 0
dateext suffix '-20250412'
glob pattern '-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]'
previous log /usr/lib/logrotate/ptest/test-0088/test.log.1 does not exist
renaming /usr/lib/logrotate/ptest/test-0088/test.log.1.gz to /usr/lib/logrotate/ptest/test-0088/test.log.2.gz (rotatecount 1, logstart 1, i 1), 
old log /usr/lib/logrotate/ptest/test-0088/test.log.1.gz does not exist
log /usr/lib/logrotate/ptest/test-0088/test.log.2.gz doesn't exist -- won't try to dispose of it
renaming /usr/lib/logrotate/ptest/test-0088/test.log to /usr/lib/logrotate/ptest/test-0088/test.log.1
disposeName will be /usr/lib/logrotate/ptest/test-0088/test.log.1
removing old log /usr/lib/logrotate/ptest/test-0088/test.log.1
