ProxyLogArchiveService

Archives logs/latest.log on startup and keeps only the newest maxArchives archives.

Functions

Link copied to clipboard
fun archiveAndPrune(logsDir: Path, maxArchives: Int = 10, clock: Clock = Clock.systemDefaultZone())