diff options
| author | yzc <[email protected]> | 2020-01-07 11:00:01 +0800 |
|---|---|---|
| committer | yzc <[email protected]> | 2020-01-07 11:00:01 +0800 |
| commit | 8399b421cfb7fdac3e44b47816e50c4ad7860f86 (patch) | |
| tree | 6e55a22cc1903f3b7486513a0fec0625749133f0 /http_check/src/http_check.c | |
| parent | 31e680b4cd843bb55825900aae7404fcbb383ca2 (diff) | |
用配置文件传入的日志类型
Diffstat (limited to 'http_check/src/http_check.c')
| -rw-r--r-- | http_check/src/http_check.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/http_check/src/http_check.c b/http_check/src/http_check.c index 3cdf5bc..ad5b2d7 100644 --- a/http_check/src/http_check.c +++ b/http_check/src/http_check.c @@ -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) { |
