用配置文件传入的日志类型

This commit is contained in:
yzc
2020-01-07 11:00:01 +08:00
parent 31e680b4cd
commit 8399b421cf

View File

@@ -477,7 +477,7 @@ int http_check_init()
MESA_load_profile_int_def(http_check_conf_file, "HTTP", "LOG_LEVEL", &log_level, 30);
printf("*v12*******read_ip:%s,read_port:%d\n",g_http_address, g_http_port);
http_check_log_handler = MESA_create_runtime_log_handle(http_check_log_path, RLOG_LV_INFO);
http_check_log_handler = MESA_create_runtime_log_handle(http_check_log_path, log_level);
error_log_handler = MESA_create_runtime_log_handle(http_check_error_log_path, log_level);
if (http_check_log_handler == NULL || error_log_handler == NULL)
{