🌈style(snapshot_handle_info):
兼容logger1行为时,屏显输出handle_name,log_path和level
This commit is contained in:
@@ -154,7 +154,7 @@ static void snapshot_handle_info(const char *handle_name, const char *log_path,
|
|||||||
|
|
||||||
if(g_zlog_inited == 0)
|
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_init(tmp_conf_filepath);
|
||||||
zlog_reload(NULL);
|
zlog_reload(NULL);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user