增加HTTP日志等级配置功能

This commit is contained in:
luqiuwen
2018-12-13 23:40:36 +06:00
parent 94242de81c
commit 8c93f7203d
4 changed files with 17 additions and 2 deletions

View File

@@ -22,6 +22,10 @@ struct http_plugin
struct event * gc_event_hs_private[TFE_THREAD_MAX];
/* ACCESS LOGGER */
void * logger;
/* LOGLEVE */
int log_level;
/* LOGFILE */
char log_file[TFE_STRING_MAX];
};
extern struct http_plugin * g_http_plugin;