mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-11-15 23:46:55 +01:00
* fix(log): count .log.bak in KeepSome cleanup, unique same-second names Two same-second rotations created a .log.bak file that remove_old_files never counted (it only matched .log), so KeepSome(n) grew past its cap. A third rotation in the same second then overwrote that .bak, losing the lines it held. Pick the first free <name>_<date>_<n>.log on collision instead of the .bak rename, and count legacy .log.bak files against the keep cap. Fixes tauri-apps/plugins-workspace#3709 * fix(log): reuse timestamp for rotation collision names