eglowacki / zloty

YAGET development
MIT License
1 stars 0 forks source link

FileCycler breaks when reaching 10,000 log files #46

Closed eglowacki closed 2 years ago

eglowacki commented 2 years ago

When log files get accumulated to 9,999, it will go to 10,000 index number. This breaks all our filtering and matching file names based on pattern '-xxxx', where x is any digit in util::FileCycler function.

What do we do with existing files to accommodate new set? Do we just delete, or keep some small section?

eglowacki commented 2 years ago

Added support to cleanup files and rename them starting from 1