You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "LiteSun (via GitHub)" <gi...@apache.org> on 2023/03/01 09:26:13 UTC

[GitHub] [apisix] LiteSun commented on a diff in pull request #8921: docs: update file-logger garbled faq

LiteSun commented on code in PR #8921:
URL: https://github.com/apache/apisix/pull/8921#discussion_r1121401530


##########
docs/zh/latest/FAQ.md:
##########
@@ -707,6 +707,10 @@ make GOOS=linux GOARCH=amd64
     prefix: "/apisix"
 ```
 
+## 为什么 file-logger 记录日志会出现乱码?
+
+如果你使用的是 `file-logger` 插件,但是在日志文件中出现了乱码,那么可能是因为你的上游的响应返回是压缩格式的响应主体。你可以将请求头带上不接收压缩响应参数以解决这个问题。

Review Comment:
   updated.



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