From e4ee3e00077d299ac09a83534bf57985ca80cc07 Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Tue, 27 Feb 2018 14:52:21 -0500 Subject: [PATCH] Revert "Respond to CR." This reverts commit 45201d45ed51fa8930ea666f6503de92e9d63284. --- Signal/src/util/Pastelog.m | 1 + SignalMessaging/utils/DebugLogger.m | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Signal/src/util/Pastelog.m b/Signal/src/util/Pastelog.m index b2b65f012..f0d6fd907 100644 --- a/Signal/src/util/Pastelog.m +++ b/Signal/src/util/Pastelog.m @@ -68,6 +68,7 @@ typedef void (^DebugLogUploadFailure)(DebugLogUploader *uploader, NSError *error userInfo:@{ NSLocalizedDescriptionKey : @"Could not load data." }]]; return; } + // TODO: [request setHTTPBody:data]; NSURLConnection *connection = [NSURLConnection connectionWithRequest:request delegate:self]; diff --git a/SignalMessaging/utils/DebugLogger.m b/SignalMessaging/utils/DebugLogger.m index 9d859c6e5..bb306982f 100644 --- a/SignalMessaging/utils/DebugLogger.m +++ b/SignalMessaging/utils/DebugLogger.m @@ -70,7 +70,7 @@ const NSUInteger kMaxDebugLogFileSize = 1024 * 1024 * 3; // 24 hour rolling. self.fileLogger.rollingFrequency = kDayInterval; // Keep last 3 days of logs - or last 3 logs (if logs rollover due to max file size). - self.fileLogger.logFileManager.maximumNumberOfLogFiles = 3; + self.fileLogger.logFileManager.maximumNumberOfLogFiles = 24; self.fileLogger.maximumFileSize = kMaxDebugLogFileSize; self.fileLogger.logFormatter = [OWSScrubbingLogFormatter new];