summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBug Magnet <marco.nikic@mullvad.net>2024-11-28 11:55:48 +0100
committerBug Magnet <marco.nikic@mullvad.net>2024-11-28 13:30:41 +0100
commitfef64b80a888b9c86a66dff0e32d4958548a0d23 (patch)
tree8814256e4a975fae0916e76f47e20e7ad5abe463
parent8f45d95590409c69bdb132516c31fd8a7e740c6d (diff)
downloadmullvadvpn-fef64b80a888b9c86a66dff0e32d4958548a0d23.tar.xz
mullvadvpn-fef64b80a888b9c86a66dff0e32d4958548a0d23.zip
Reduce the maximum log file size to 2MB
-rw-r--r--ios/MullvadLogging/Logging.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/ios/MullvadLogging/Logging.swift b/ios/MullvadLogging/Logging.swift
index 4b5b7a3965..a9b3a38200 100644
--- a/ios/MullvadLogging/Logging.swift
+++ b/ios/MullvadLogging/Logging.swift
@@ -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 {