🌈style(snapshot_handle_info):

兼容logger1行为时,屏显输出handle_name,log_path和level
This commit is contained in:
yangwei
2020-09-21 21:16:25 +08:00
parent cc0912eed0
commit 8857f282b9

View File

@@ -154,7 +154,7 @@ static void snapshot_handle_info(const char *handle_name, const char *log_path,
if(g_zlog_inited == 0)
{
printf("[snapshot_handle_info], Nobody call MESA_handle_runtime_log_creation before, Using (%s) to init zlog!!!\n", tmp_conf_filepath);
printf("[snapshot_handle_info], Nobody call MESA_handle_runtime_log_creation before, Using (%s) to init zlog, handle_name(%s), log_path(%s), log_level(%d)!!!\n", tmp_conf_filepath, handle_name, log_path, level);
zlog_init(tmp_conf_filepath);
zlog_reload(NULL);
}