int destroy_ret = RECORDER_ERROR_NONE;
int sock_fd = -1;
int module_index = -1;
+ int log_level = g_mmcam_log_level;
int send_ret = 0;
char *send_msg = NULL;
char *root_directory = NULL;
recorder_cli_s *pc = NULL;
recorder_msg_param param;
- REC_LOG_INFO("Enter - type[%d]", type);
+ REC_LOG_INFO("type[%d]", type);
if (recorder == NULL) {
REC_LOG_ERROR("NULL pointer for recorder handle");
goto _ERR_RECORDER_EXIT;
}
+ /* get log level from message */
+ muse_recorder_msg_get(log_level, pc->cb_info->recv_msg);
+ g_mmcam_log_level = log_level;
+
muse_recorder_msg_get_pointer(handle, pc->cb_info->recv_msg);
if (handle == 0) {
//LCOV_EXCL_START
goto _DONE;
}
- REC_LOG_INFO("signal subscribe id %u", g_rec_dev_state_changed_cb_subscribe_id);
+ REC_LOG_INFO("signal subscribe id[%u]", g_rec_dev_state_changed_cb_subscribe_id);
}
g_rec_dev_state_changed_cb_list = g_list_prepend(g_rec_dev_state_changed_cb_list, (gpointer)info);