Quantcast
Channel: 旁门左道 » lua
Viewing all articles
Browse latest Browse all 2

nginx,lua,日志调试

0
0
i got it,原来有这个接口啊. Nginx log level constants context: set_by_lua*, rewrite_by_lua*, access_by_lua*, content_by_lua*, header_filter_by_lua*, body_filter_by_lua, log_by_lua*, ngx.timer.* ngx.STDERR ngx.EMERG ngx.ALERT ngx.CRIT ngx.ERR ngx.WARN ngx.NOTICE ngx.INFO ngx.DEBUG These constants are usually used by the ngx.log method. print syntax: print(...) context: init_by_lua*, set_by_lua*, rewrite_by_lua*, access_by_lua*, content_by_lua*, header_filter_by_lua*, body_filter_by_lua, log_by_lua*, ngx.timer.* Writes argument values into the nginx error.log file with the ngx.NOTICE log level. It [...]

Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images