lua-nginx-module icon indicating copy to clipboard operation
lua-nginx-module copied to clipboard

如何修改 resty 打印日志的格式, format

Open perfy576 opened this issue 5 years ago • 1 comments

如题..

想修改 resty 打印日志的字段.请问如何修改

perfy576 avatar Aug 06 '20 12:08 perfy576

I do not know which format you want to edit. For the Nginx error log, we can not change any format in Lua, It just prints pure string in C with some defined field that we can not change.

oowl avatar Dec 17 '23 03:12 oowl