Issue
Every time a customer shares a report, archived logs are not helpful.
Logically, archived logs should be the latest X days.
But I 've seen more archives older than 3 months and without some continuation in dates.
Fix
- Add debug logging to the rotating logger to know what is deleted, what is created, what is archived.
- Add tests.
- Fix possible errors.
- causes
-
NXDRIVE-1860 Skip any OSError when trying to compress log files
- Resolved