LinphoneTester: use Warning verbosity only to avoid logs spam

This commit is contained in:
Gautier Pelloux-Prayer 2015-06-18 16:41:11 +02:00
parent f9c77697fd
commit 35c772b895
2 changed files with 3 additions and 2 deletions

View file

@ -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++) {

View file

@ -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);
}