mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
tester: use linphone_core_set_log_level when setting verbosity in order to keep belle-sip logs too
This commit is contained in:
parent
9fff00eef2
commit
f02b957e60
1 changed files with 2 additions and 2 deletions
|
|
@ -209,9 +209,9 @@ int main (int argc, char *argv[])
|
|||
|
||||
for(i = 1; i < argc; ++i) {
|
||||
if (strcmp(argv[i], "--verbose") == 0) {
|
||||
ortp_set_log_level_mask(ORTP_MESSAGE);
|
||||
linphone_core_set_log_level(ORTP_MESSAGE);
|
||||
} else if (strcmp(argv[i], "--silent") == 0) {
|
||||
ortp_set_log_level_mask(ORTP_FATAL);
|
||||
linphone_core_set_log_level(ORTP_FATAL);
|
||||
} else if (strcmp(argv[i],"--log-file")==0){
|
||||
CHECK_ARG("--log-file", ++i, argc);
|
||||
log_file=fopen(argv[i],"w");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue