diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index 8d40a9ddc..3d06704fe 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -1046,8 +1046,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){