I've added a small test scenario with commit 0e0dca96. Created a 2.7 GB file with
dd if=/dev/zero of=/var/log/logbook-2017-03-11-0.log bs=2048 count=1300000
The large file was properly deleted.Note that deletion occurs asynchronously so the removal thread has to have time to run. |