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]; }];