mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
fix: Actually keep 5 log files
This commit is contained in:
parent
5396b0408e
commit
2c36be8b8f
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ class RollingUniFileLogWriter(
|
|||
}
|
||||
.orEmpty()
|
||||
.sortedByDescending { it.name }
|
||||
.drop(maxLogFiles - 1)
|
||||
.drop(maxLogFiles)
|
||||
.forEach {
|
||||
it.delete()
|
||||
dupes[it.name]?.forEach { f -> f.delete() }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue