From 46631ac709d13d7b65d222df2568e96918a15469 Mon Sep 17 00:00:00 2001 From: Gautier Pelloux-Prayer Date: Wed, 27 Apr 2016 17:41:45 +0200 Subject: [PATCH] dialer: disable logs magic popup should disable all logs --- Classes/DialerView.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/DialerView.m b/Classes/DialerView.m index 5606ee93f..e85243213 100644 --- a/Classes/DialerView.m +++ b/Classes/DialerView.m @@ -267,7 +267,7 @@ static UICompositeViewDescription *compositeDescription = nil; [alertView addButtonWithTitle:actionLog block:^{ - int newDebugLevel = debugEnabled ? ORTP_ERROR : ORTP_DEBUG; + int newDebugLevel = debugEnabled ? 0 : ORTP_DEBUG; [LinphoneManager.instance lpConfigSetInt:newDebugLevel forKey:@"debugenable_preference"]; [Log enableLogs:newDebugLevel]; }];