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


##########
docs/en/latest/plugins/file-logger.md:
##########
@@ -49,6 +49,7 @@ The `file-logger` Plugin is used to push log streams to a 
specific location.
 | log_format | object | False    | Log format declared as key value pairs in 
JSON format. Values only support strings. [APISIX](../apisix-variable.md) or 
[Nginx](http://nginx.org/en/docs/varindex.html) variables can be used by 
prefixing the string with `$`. |
 | include_resp_body      | boolean | False     | When set to `true` includes 
the response body in the log file.                                              
                                                                                
                                  |
 | include_resp_body_expr | array   | False     | When the `include_resp_body` 
attribute is set to `true`, use this to filter based on 
[lua-resty-expr](https://github.com/api7/lua-resty-expr). If present, only logs 
the response into file if the expression evaluates to `true`. |
+| matches        | array[] | False   |  Logs will be recorded only when the 
rule match is successful. See 
[lua-resty-expr](https://github.com/api7/lua-resty-expr#operator-list) for a 
list of available expressions.   |

Review Comment:
   ```suggestion
   | matches        | array[] | False   | Logs will be recorded when the rule 
matching is successful if the option is set. See 
[lua-resty-expr](https://github.com/api7/lua-resty-expr#operator-list) for a 
list of available expressions.   |
   ```



-- 
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