在 2018年8月22日,下午8:56,Alexander Altshuler <al...@gmail.com> 写道:HiLua nginx module docs state that cosocket not available everywhereHow does lua-resty-logger-socket work in such case?I see it is used in context of log_by_lua*.Thanks and regards,Alexander -- .
hello,in context of log_by_lua*, it just send msg content into buffer, and then do_flush buffer in context of ngx.timer.at with tcp or udp.see it at https://github.com/cloudflare/lua-resty-logger-socket/blob/master/lib/resty/logger/socket.lua#L353
Kwanhur HuangTL;DR 在 2018年8月22日,下午8:56,Alexander Altshuler <alt...@gmail.com> 写道:HiLua nginx module docs state that cosocket not available everywhereHow does lua-resty-logger-socket work in such case?I see it is used in context of log_by_lua*.Thanks and regards,Alexander.
在 2018年8月22日,下午8:56,Alexander Altshuler <alt...@gmail.com> 写道:HiLua nginx module docs state that cosocket not available everywhereHow does lua-resty-logger-socket work in such case?I see it is used in context of log_by_lua*.Thanks and regards,Alexander.