lua_package_path"/path/to/lua-resty-logger-socket/lib/?.lua;;";server{location/{log_by_lua'locallogger=require"resty.logger.socket"ifnotlogger.initted()thenlocalok,err=logger.init{host='xxx',port=1234,flush_limi
12.5 lua-resty-logger-socket传输方案 书名:Nginx实战:基于Lua语言的配置、开发与架构详解 作者名:王力 汤永全 本章字数:566字 更新时间:2025-04-14 19:38:24首页 书籍详情 目录 听书 加入书架 字号 背景 手机阅读举报 后续精彩内容,上QQ阅读APP免费读上QQ阅读APP看本书,新人免费读10天账号和设备都新为新人...
Raw-socket-based Logger Library for Nginx (based on ngx_lua) - lua-resty-logger-socket/t/bug.t at caa33d78c8d4bdeccdc9d6a7e8a659c10b75203b · cloudflare/lua-resty-logger-socket
Raw-socket-based Logger Library for Nginx (based on ngx_lua) - lua-resty-logger-socket/t/timeout.t at caa33d78c8d4bdeccdc9d6a7e8a659c10b75203b · cloudflare/lua-resty-logger-socket
Raw-socket-based Logger Library for Nginx (based on ngx_lua) - lua-resty-logger-socket/t/sanity.t at caa33d78c8d4bdeccdc9d6a7e8a659c10b75203b · cloudflare/lua-resty-logger-socket
本人结合rsyslog使用的时候发现, 1、发送过去的msg 无法正常接收,必须要改成#msg .." "..msg才可以传送过去,而且syslog这边必须要通过%rawmsg%才能接收到 2、syslog服务在接收发送过来的数据的时候无法获取 syslogtag内容。 麻烦帮忙解答。Activity agentzh commented on Jul 15, 2016 agentzh on Jul 15, 2016 ...
In the current version of lua-resty-logger-socket, the buffer table is partially cleared after log messages are sent out. While flushing log messages, there would be new log messages coming into the buffer table. Because there is no whole clear is performed, so table.clear is not suitable ...