diff --git a/Riot/AppDelegate.m b/Riot/AppDelegate.m index 8a7808977..ba840c89e 100644 --- a/Riot/AppDelegate.m +++ b/Riot/AppDelegate.m @@ -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");