This is an automated email from the ASF dual-hosted git repository.

tokers pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git


The following commit(s) were added to refs/heads/master by this push:
     new c802925  docs(FAQ.md): add a configuration example in How to modify 
the log level (#3936)
c802925 is described below

commit c80292552f43a57e0c1b8196e05230d9b4a1a9a4
Author: Yuelin Zheng <[email protected]>
AuthorDate: Wed Mar 31 10:13:16 2021 +0800

    docs(FAQ.md): add a configuration example in How to modify the log level 
(#3936)
    
    Signed-off-by: Firstsawyou [email protected]
---
 docs/en/latest/FAQ.md | 7 ++++++-
 docs/zh/latest/FAQ.md | 7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/docs/en/latest/FAQ.md b/docs/en/latest/FAQ.md
index 4cdbe8d..bb27790 100644
--- a/docs/en/latest/FAQ.md
+++ b/docs/en/latest/FAQ.md
@@ -271,7 +271,12 @@ The default log level for APISIX is `warn`. However You 
can change the log level
 
 Steps:
 
-1. Modify the parameter `error_log_level: "warn"` to `error_log_level: "info"` 
in conf/config.yaml
+1. Modify the parameter `error_log_level: "warn"` to `error_log_level: "info"` 
in conf/config.yaml.
+
+```yaml
+nginx_config:
+  error_log_level: "info"
+```
 
 2. Reload or restart APISIX
 
diff --git a/docs/zh/latest/FAQ.md b/docs/zh/latest/FAQ.md
index 73c5137..a3c349e 100644
--- a/docs/zh/latest/FAQ.md
+++ b/docs/zh/latest/FAQ.md
@@ -217,7 +217,12 @@ Server: APISIX web server
 
 具体步骤:
 
-1、修改 conf/config.yaml 中的 nginx log 配置参数`error_log_level: 
"warn"`为`error_log_level: "info"`。
+1、修改 conf/config.yaml 中的 `nginx_config` 配置参数`error_log_level: "warn"` 为 
`error_log_level: "info"`。
+
+```yaml
+nginx_config:
+  error_log_level: "info"
+```
 
 2、重启抑或 reload APISIX
 

Reply via email to