You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/09/08 05:40:04 UTC
[GitHub] [apisix] hf400159 commented on a diff in pull request #7868: docs: add file-logger plugin desc
hf400159 commented on code in PR #7868:
URL: https://github.com/apache/apisix/pull/7868#discussion_r965520160
##########
docs/en/latest/plugins/file-logger.md:
##########
@@ -31,6 +31,16 @@ description: This document contains information about the Apache APISIX file-log
The `file-logger` Plugin is used to push log streams to a specific location.
+:::tip
+
+- `file-logger` plugin can count request and response data for individual routes locally, which is useful for [debugging](../debug-mode.md).
+- `file-logger` plugin can get [APISIX variables](../apisix-variable.md) and [NGINX variables](http://nginx.org/en/docs/varindex.html), while `access.log` can only use NGINX variables.
+- `file-logger` plugin support hot-loaded so that we can change its configuration at any time with immediate effect.
+- `file-logger` plugin saves every data in JSON format.
+- The user can modify the functions executed by the `file-logger` during the `log phase` to collect the information they want.
+
+:::
+
Review Comment:
Hi, I recommend English to stay the same.
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org