openresty / lua-nginx-module

Embed the Power of Lua into NGINX HTTP servers
https://openresty.org/
11.25k stars 2.02k forks source link

only part of errorInfo can be logged if it's too big #1328

Open sstong123 opened 6 years ago

sstong123 commented 6 years ago

ngx.log(ngx.ERR, errorInfo); only part of errorInfo can be logged if it's too big(my errorInfo is about :6KB)

mlboy commented 6 years ago

Nginx micro limit

马良 邮箱:mlboy@126.com

签名由 网易邮箱大师 定制

On 05/23/2018 15:51, sstong123 wrote:

ngx.log(ngx.ERR, errorInfo); only part of errorInfo can be logged if it's too big(my errorInfo is about :6KB)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

p0pr0ck5 commented 6 years ago

This is documented behavior: https://github.com/openresty/lua-nginx-module#ngxlog