去除无用的debug日志; 增加对send_to_tfe失败的处理

This commit is contained in:
崔一鸣
2019-06-18 18:29:06 +08:00
parent 7e3ae597c4
commit 08c5a43054
3 changed files with 45 additions and 39 deletions

View File

@@ -99,7 +99,7 @@ struct kni_send_logger* kni_send_logger_init(const char *profile, void *local_lo
KNI_LOG_ERROR(local_logger, "MESA_prof_load: kafka_brokerlist not set, profile is %s, section is %s", profile, section);
goto error_out;
}
KNI_LOG_INFO(local_logger, "MESA_prof_load, [%s]:\n switch: %d\n kafka_topic: %s\n, kafka_brokerlist: %s",
KNI_LOG_ERROR(local_logger, "MESA_prof_load, [%s]:\n switch: %d\n kafka_topic: %s\n, kafka_brokerlist: %s",
section, sendlog_switch, kafka_topic, kafka_brokerlist);
handle = ALLOC(struct kni_send_logger, 1);
handle->local_logger = local_logger;