feat(log): Add KeepSome rotation strategy (#677)

Co-authored-by: Krzysztof Krolak <krzysiek.krolak@gmail.com>
Co-authored-by: FabianLars <github@fabianlars.de>
This commit is contained in:
kris-ava
2025-06-10 17:46:10 +00:00
committed by GitHub
parent 8b63de9dfe
commit 106e46ed51
3 changed files with 75 additions and 23 deletions
+6
View File
@@ -0,0 +1,6 @@
---
log: minor
log-js: minor
---
Added the `KeepSome` rotation strategy. Like `KeepAll` it will rename files when the max file size is exceeded but will keep only the specified amount of files around.