diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index d0e79c93f..90e502f20 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -1021,8 +1021,8 @@ void linphone_core_enable_logs(FILE *file){ } void linphone_core_enable_logs_with_cb(OrtpLogFunc logfunc){ - linphone_core_set_log_level(ORTP_MESSAGE); linphone_core_set_log_handler(logfunc); + linphone_core_set_log_level(ORTP_MESSAGE); } void linphone_core_disable_logs(void){