diff --git a/Signal/src/util/Pastelog.m b/Signal/src/util/Pastelog.m index f0d6fd907..b2b65f012 100644 --- a/Signal/src/util/Pastelog.m +++ b/Signal/src/util/Pastelog.m @@ -68,7 +68,6 @@ 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 bb306982f..9d859c6e5 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 = 24; + self.fileLogger.logFileManager.maximumNumberOfLogFiles = 3; self.fileLogger.maximumFileSize = kMaxDebugLogFileSize; self.fileLogger.logFormatter = [OWSScrubbingLogFormatter new];