用配置文件传入的日志类型
This commit is contained in:
@@ -477,7 +477,7 @@ int http_check_init()
|
|||||||
MESA_load_profile_int_def(http_check_conf_file, "HTTP", "LOG_LEVEL", &log_level, 30);
|
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);
|
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);
|
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)
|
if (http_check_log_handler == NULL || error_log_handler == NULL)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user