diff options
| author | luwenpeng <[email protected]> | 2020-09-24 17:47:35 +0800 |
|---|---|---|
| committer | luwenpeng <[email protected]> | 2020-09-24 17:53:44 +0800 |
| commit | 95ec503762fee9f5270bfcca734c20cb53059971 (patch) | |
| tree | cb1fbbf952fea15f6f6599195e283b92e119830a /plugin/business/doh/src/doh.cpp | |
| parent | 9d15d655ed7cdab6163a6009759d7c8edef9abf1 (diff) | |
tfe 支持 zlog
Diffstat (limited to 'plugin/business/doh/src/doh.cpp')
| -rw-r--r-- | plugin/business/doh/src/doh.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugin/business/doh/src/doh.cpp b/plugin/business/doh/src/doh.cpp index 7b7fd64..dfc2eb3 100644 --- a/plugin/business/doh/src/doh.cpp +++ b/plugin/business/doh/src/doh.cpp @@ -578,7 +578,6 @@ int doh_on_init(struct tfe_proxy *proxy) assert(g_doh_conf); MESA_load_profile_int_def(profile, "doh", "enable", &(g_doh_conf->enable), 1); - MESA_load_profile_int_def(profile, "log", "log_level", &(g_doh_conf->local_level), 10); if (!g_doh_conf->enable) { @@ -588,7 +587,7 @@ int doh_on_init(struct tfe_proxy *proxy) TFE_LOG_INFO(NULL, "Doh enabled."); g_doh_conf->thread_num = tfe_proxy_get_work_thread_count(); - g_doh_conf->local_logger = MESA_create_runtime_log_handle("./log/doh_pxy.log", g_doh_conf->local_level); + g_doh_conf->local_logger = MESA_create_runtime_log_handle("doh", RLOG_LV_DEBUG); g_doh_conf->gc_evbase = tfe_proxy_get_gc_evbase(); g_doh_conf->fs_handle = tfe_proxy_get_fs_handle(); |
