diff --git a/Classes/CallView.m b/Classes/CallView.m index 1956a20c7..ee06708aa 100644 --- a/Classes/CallView.m +++ b/Classes/CallView.m @@ -660,7 +660,7 @@ static void hideSpinner(LinphoneCall *call, void *user_data) { dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.3 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ [UIView animateWithDuration:0.3 animations:^{ - LOGI(@"Recentering preview to %@", NSStringFromCGRect(previewFrame)); + LOGD(@"Recentering preview to %@", NSStringFromCGRect(previewFrame)); _videoPreview.frame = previewFrame; }]; }); diff --git a/Classes/Utils/Log.m b/Classes/Utils/Log.m index 654e9027a..00b371129 100644 --- a/Classes/Utils/Log.m +++ b/Classes/Utils/Log.m @@ -61,7 +61,7 @@ } else { NSLog(@"I/%s/Enabling %s logs", ORTP_LOG_DOMAIN, (enabled ? "all" : "application only")); linphone_core_set_log_level(level); - ortp_set_log_level("ios", ORTP_DEBUG); + ortp_set_log_level("ios", level == ORTP_DEBUG ? ORTP_DEBUG : ORTP_MESSAGE); } }