hf400159 commented on code in PR #6736: URL: https://github.com/apache/apisix/pull/6736#discussion_r854751500
########## docs/zh/latest/FAQ.md: ########## @@ -209,32 +230,28 @@ Server: APISIX web server </html> ``` -## 如何修改日志等级 - -默认的 APISIX 日志等级为 `warn`,如果需要查看 `core.log.info` 的打印结果需要将日志等级调整为 `info`。 +## 我应该如何更改 Apache APISIX 的日志等级? -具体步骤: +默认的 Apache APISIX 日志等级为 `warn`,你需要将日志等级调整为 `info`来查看 `core.log.info` 的打印结果。 -1、修改 conf/config.yaml 中的 `nginx_config` 配置参数 `error_log_level: "warn"` 为 `error_log_level: "info"`。 +你可以通过修改 conf/config.yaml 中的 `nginx_config` 配置参数 `error_log_level: "warn"` 为 `error_log_level: "info"`。然后重新加载 Apache APISIX。 Review Comment: ```suggestion 你需要修改 `./conf/config.yaml` 中的 `nginx_config` 配置参数 `error_log_level: "warn"` 为 `error_log_level: "info"`,然后重新加载 Apache APISIX 使其生效。 ``` -- 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]
