monkeyDluffy6017 commented on code in PR #9712:
URL: https://github.com/apache/apisix/pull/9712#discussion_r1254669382


##########
docs/zh/latest/plugins/file-logger.md:
##########
@@ -51,6 +51,7 @@ description: API 网关 Apache APISIX file-logger 插件可用于将日志数据
 | log_format       | object  | 否     | 以 JSON 格式的键值对来声明日志格式。对于值部分,仅支持字符串。如果是以 
`$` 开头,则表明是要获取 [APISIX 变量](../apisix-variable.md) 或 [NGINX 
内置变量](http://nginx.org/en/docs/varindex.html)。 |
 | include_resp_body      | boolean | 否     | 当设置为 `true` 时,生成的文件包含响应体。         
                                                                                
      |
 | include_resp_body_expr | array   | 否     | 当 `include_resp_body` 属性设置为 
`true` 时,使用该属性并基于 [lua-resty-expr](https://github.com/api7/lua-resty-expr) 
进行过滤。如果存在,则仅在表达式计算结果为 `true` 时记录响应。       |
+| matches        | array[] | 否   |  当规则匹配通过后才会记录日志。`matches` 是一个表达式列表,来自 
[lua-resty-expr](https://github.com/api7/lua-resty-expr#operator-list)。   |

Review Comment:
   ```suggestion
   | matches        | array[] | 否   |  当设置了这个选项后,只有匹配规则的日志才会被记录。`matches` 
是一个表达式列表,具体请参考 
[lua-resty-expr](https://github.com/api7/lua-resty-expr#operator-list)。   |
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to