fixed: 调用错误

This commit is contained in:
potatso 2023-07-04 13:51:45 +08:00
parent 0f1196d55f
commit 48be5fe980

View File

@ -132,7 +132,7 @@ function _M.do_body_filter()
end end
function _M.do_log() function _M.do_log()
coraza.process_logging() coraza.process_logging(ngx_ctx.transaction)
local msg = coraza.get_matched_logmsg(ngx_ctx.transaction) local msg = coraza.get_matched_logmsg(ngx_ctx.transaction)
ngx_ctx.coraza_msg = msg ngx_ctx.coraza_msg = msg