Logs: Keep the 50 last log files

iOS13 kills the app more often. We have no more one log file a day but one log file every few hours. Increase that number of files to have a wider view of what it's going on.
This commit is contained in:
manuroe
2020-03-04 15:05:34 +01:00
parent 54778223b2
commit fcfc83e273
+1 -1
View File
@@ -271,7 +271,7 @@ NSString *const AppDelegateDidValidateEmailNotificationClientSecretKey = @"AppDe
// Redirect NSLogs to files only if we are not debugging
if (!isatty(STDERR_FILENO))
{
[MXLogger redirectNSLogToFiles:YES];
[MXLogger redirectNSLogToFiles:YES numberOfFiles:50];
}
NSLog(@"[AppDelegate] initialize: Done");