Update request-log2file.w

小修改
pull/60/head
shuaiZend 7 months ago committed by GitHub
parent 8581edad11
commit 715c63e54d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -94,7 +94,7 @@ function _M.log_pre_filter(waf)
waf_rule_id = waf.rule_id waf_rule_id = waf.rule_id
end end
local info = { local info = {
["__time__"] = ngx.var.msec, ["__time__"] = math.floor(ngx.var.msec),
["block_action"] = block_action, ["block_action"] = block_action,
["waf_rule_id"] = waf_rule_id, ["waf_rule_id"] = waf_rule_id,
["time"] = ngx.var.time_iso8601, ["time"] = ngx.var.time_iso8601,

Loading…
Cancel
Save