p0pr0ck5 / lua-resty-waf

High-performance WAF built on the OpenResty stack
GNU General Public License v3.0
1.28k stars 305 forks source link

There are three methods to record the log. So which one is the best method ? #294

Closed JoyChou93 closed 6 years ago

JoyChou93 commented 7 years ago

In the code , there are three methods to record the log. So which one is the best method ?

https://github.com/p0pr0ck5/lua-resty-waf/blob/master/lib/resty/waf/log.lua

p0pr0ck5 commented 6 years ago

Hi,

Apologies for the delayed response. There is no "best" method. It depends on entirely on your use case and infrastructure. We provide a number of options to allow for flexibility in deployment options.

Thanks!