Skip to content

Commit

Permalink
Merge branch 'limit-the-size-of-logs-collected-to-2mb-ios-949'
Browse files Browse the repository at this point in the history
  • Loading branch information
buggmagnet committed Nov 28, 2024
2 parents 8f45d95 + fef64b8 commit 30733c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/MullvadLogging/Logging.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public struct LoggerBuilder {

do {
try LogRotation.rotateLogs(logDirectory: logsDirectoryURL, options: LogRotation.Options(
storageSizeLimit: 5_242_880, // 5 MB
storageSizeLimit: 2_000_000, // 2 MB
oldestAllowedDate: Date(timeIntervalSinceNow: -Duration.days(7).timeInterval)
))
} catch {
Expand Down

0 comments on commit 30733c7

Please sign in to comment.