mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
LinphoneTester: use Warning verbosity only to avoid logs spam
This commit is contained in:
parent
f9c77697fd
commit
35c772b895
2 changed files with 3 additions and 2 deletions
|
|
@ -65,6 +65,8 @@ void LSLog(NSString* fmt, ...){
|
|||
|
||||
liblinphone_tester_keep_accounts(TRUE);
|
||||
|
||||
linphone_core_set_log_level(ORTP_WARNING);
|
||||
|
||||
int count = bc_tester_nb_suites();
|
||||
|
||||
for (int i=0; i<count; i++) {
|
||||
|
|
|
|||
|
|
@ -54,8 +54,7 @@ static void linphone_log_function(OrtpLogLevel lev, const char *fmt, va_list arg
|
|||
logsBuffer = [NSMutableArray arrayWithCapacity:kLogsBufferCapacity];
|
||||
|
||||
linphone_core_set_log_handler(linphone_log_function);
|
||||
linphone_core_set_log_level(ORTP_DEBUG|ORTP_ERROR|ORTP_FATAL|ORTP_WARNING|ORTP_MESSAGE|ORTP_TRACE);
|
||||
|
||||
linphone_core_set_log_level(ORTP_WARNING);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue